Skip to content

Conversation

hedgepigdaniel
Copy link
Contributor

Fixes #193

Skip terminateCircularRelationships logic for fields who's types are input objects with the @oneOf directive. This fixes the generation of incorrect code with type errors.

Copy link
Owner

@ardeois ardeois 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 fix !

@ardeois ardeois added the patch Increment the patch version when merged label Aug 13, 2025
@ardeois ardeois merged commit ac22426 into ardeois:main Aug 13, 2025
11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
patch Increment the patch version when merged
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Type errors in generated code when nested input objects have oneOf directive
2 participants