Skip to content

Conversation

@nvergez
Copy link
Contributor

@nvergez nvergez commented Jul 12, 2022

Hello,
I implemented topological sort to be sure to sort all the custom types in a good way. I also changed the data test to a not handled case by the previous sort.

I had to change the attribute customTypes from readonly to private. But we can add a getter if needed, even if some getters are already provided to get specific enums or structs.
If the readonly is mandatory I can just implement the all thing in a different way.

Copy link
Contributor

@ccorcoveanu ccorcoveanu left a comment

Choose a reason for hiding this comment

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

I actually like customTypes as private better, because it is anyway altered using sort. But unfortunately this is a breaking change.
So, I prepared a new branch feat/erdjs-v12. Could you please point the PR there, and add a changelog entry with a short description about this breaking change, linked to the PR?

We will release this with erdjs v12.

@nvergez nvergez changed the base branch from main to feat/erdjs-v12 August 1, 2022 14:10
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.

2 participants