Skip to content

[generator] Fix issue generating nested additional types #615

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

Merged

Conversation

smyrick
Copy link
Contributor

@smyrick smyrick commented Feb 26, 2020

📝 Description

We would encounter a bug if generating the additional types produced more additional types. So we now call the function recursively and clear it out before generating more.

🔗 Related Issues

N\A

We would encounter a bug if generating the additional types producded more additional types. So we now call the function recursively and clear it out before generating more.
@smyrick smyrick added type: bug Something isn't working changes: patch Changes require a patch version labels Feb 26, 2020
@smyrick smyrick merged commit 4aa7872 into ExpediaGroup:master Feb 26, 2020
@smyrick smyrick deleted the concurrent-additional-types-exception branch February 26, 2020 07:59
dariuszkuc added a commit to dariuszkuc/graphql-kotlin that referenced this pull request Aug 5, 2022
…p#615)

* Fix issue generating nested additional types

We would encounter a bug if generating the additional types producded more additional types. So we now call the function recursively and clear it out before generating more.

* Apply suggestions from code review

Co-Authored-By: Dariusz Kuc <[email protected]>

* Reverse addition order

Co-authored-by: Dariusz Kuc <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
changes: patch Changes require a patch version type: bug Something isn't working
Development

Successfully merging this pull request may close these issues.

2 participants