We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
When hoisting a field and the path to the field contains a list the resulting schema ignores that there was a list in the path.
To Reproduce Given the following schema:
type Query { data: [Wrapper!]! } type Wrapper { value: String! }
Using the following configuration for hoist field:
new HoistField('Query', ['data', 'value'], 'data');
The result is:
type Query { data: String! }
Expected behavior The hoist field transform should instead generate the followings schema
type Query { data: [String!]! }
Note:
Additional context
Use case:
The text was updated successfully, but these errors were encountered:
Added simple unit test that covers this case: ntziolis@3107071
Sorry, something went wrong.
Would you create a PR with this failing test?
No branches or pull requests
When hoisting a field and the path to the field contains a list the resulting schema ignores that there was a list in the path.
To Reproduce
Given the following schema:
Using the following configuration for hoist field:
The result is:
Expected behavior
The hoist field transform should instead generate the followings schema
Note:
Additional context
Use case:
The text was updated successfully, but these errors were encountered: