-
Notifications
You must be signed in to change notification settings - Fork 72
fix: impl nested account name deduplication #953
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: impl nested account name deduplication #953
Conversation
Signed-off-by: AvhiMaz <[email protected]>
🦋 Changeset detectedLatest commit: df5873a The changes in this PR will be included in the next version bump. This PR includes changesets to release 1 package
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
lorisleiva
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for tackling this issue in a way that doesn't add breaking changes.
I've made a few comments but this is very close to be mergeable. Would you mind also adding a patch changeset by running changeset locally and following the prompts?
Signed-off-by: AvhiMaz <[email protected]>
lorisleiva
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the changes, made a few more comments regarding the tests. 🙏
packages/nodes-from-anchor/test/v01/InstructionAccountNode.test.ts
Outdated
Show resolved
Hide resolved
Signed-off-by: AvhiMaz <[email protected]>
lorisleiva
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you!
Automatically prefix nested account names with their parent group name
when duplicates are detected, preventing invalid TypeScript output.
Only applies prefixing when necessary, preserving original names otherwise.
Fixes #754