Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(@angular-devkit/schematics): UpdateRecorder should support multiple adjacent inserts #20190

Closed
wants to merge 1 commit into from
Closed

fix(@angular-devkit/schematics): UpdateRecorder should support multiple adjacent inserts #20190

wants to merge 1 commit into from

Conversation

kyubisation
Copy link
Contributor

At the current time this is more of a question than a fix.
Should the update recorder allow multiple adjacent inserts? I added a test to illustrate this question.

While I do have a potential fix for this, in its current form it would switch to pure string handling and I assume the Buffer usage was done due to performance?

@dgp1130
Copy link
Collaborator

dgp1130 commented Jun 11, 2021

Hey there, looks like this PR fell through the cracks and we didn't get to it until just now. This seems like more of an issue rather than a PR we can easily land (since we don't want to merge failing tests), so I opened #21110 for discussion and tracking there.

If you have a specific fix in mind, feel free to open a PR with that and we can help review and hopefully land that fix.

@dgp1130 dgp1130 closed this Jun 11, 2021
@kyubisation
Copy link
Contributor Author

@dgp1130 That's fine. I was more curious if this should work in your eyes. Thank you for creating the related issue. 👍

@angular-automatic-lock-bot
Copy link

This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.

@angular-automatic-lock-bot angular-automatic-lock-bot bot locked and limited conversation to collaborators Jul 12, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants