Skip to content

Conversation

@AvhiMaz
Copy link
Contributor

@AvhiMaz AvhiMaz commented Dec 11, 2025

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

@changeset-bot
Copy link

changeset-bot bot commented Dec 11, 2025

🦋 Changeset detected

Latest commit: df5873a

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@codama/nodes-from-anchor Patch

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

Copy link
Member

@lorisleiva lorisleiva left a 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?

@AvhiMaz AvhiMaz requested a review from lorisleiva December 11, 2025 12:17
Copy link
Member

@lorisleiva lorisleiva left a 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. 🙏

@AvhiMaz AvhiMaz requested a review from lorisleiva December 11, 2025 15:43
Copy link
Member

@lorisleiva lorisleiva left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you!

@lorisleiva lorisleiva merged commit 5bad9f1 into codama-idl:main Dec 15, 2025
4 checks passed
@github-actions github-actions bot mentioned this pull request Dec 15, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[nodes-from-anchor] Issue with renderers-js and nested account names

2 participants