You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When generating the allow list the order for fragments that depend on each other differs from what the apollo plugin generates. This means that the queries that are send are not in the allow list (hasura compares literal).
I run with globalFragments: true and fragmentsOrder: "document".
Which packages are impacted by your issue?
@graphql-codegen/hasura-allow-list
Describe the bug
When generating the allow list the order for fragments that depend on each other differs from what the apollo plugin generates. This means that the queries that are send are not in the allow list (hasura compares literal).
I run with
globalFragments: true
andfragmentsOrder: "document"
.Your Example Website or App
msiegenthaler#1
Steps to Reproduce the Bug or Issue
run the newly added test in the PR
Expected behavior
order of fragments respects dependencies between fragements
must come after fragment B declaration
Screenshots or Videos
No response
Platform
Codegen Config File
Additional context
No response
The text was updated successfully, but these errors were encountered: