-
Notifications
You must be signed in to change notification settings - Fork 14
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
Register parent types before children types #25
Conversation
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 so much for the contribution, and sorry for the delay in reviewing.
Could you also add tests to Godot.SourceGenerators.Tests
to ensure the generator registers the classes in the expected order? Ideally a test that failed before this PR to validate that this PR fixes it.
src/Godot.SourceGenerators/SpecCollectors/RegistrationSpecCollector.cs
Outdated
Show resolved
Hide resolved
tests/Godot.SourceGenerators.Tests/TestData/Sources/NodesWithInheritance.cs
Outdated
Show resolved
Hide resolved
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, looks good to me 👍
Also, since you are a new contributor, make sure to read CONTRIBUTING.md and the contributing documentation if you haven't already.
You'll need to squash the commits before this PR can be merged. The contributing documentation contains information about squashing in case you need it.
Feel free to reach out in the development chat if you need help.
Thanks! |
Fixes #24