Closed mlars84 closed 1 year ago
Good idea! This issue should be directed to the normalize library, which is throwing this error.
Ps, these directives are defined and required by the core GraphQL specification, so their support in the library is essential!
They are supported in this library, you need to create an issue on normalize
Issue reported https://github.com/gql-dart/ferry/issues/468
Ok it required just to upgrade the normalize version https://github.com/gql-dart/ferry/issues/468#issuecomment-1371920877
Is your feature request related to a problem? Please describe. Attempting to use the @include or @skip directives result in a
PartialDataException
. This would be a great feature for re-using queries in multiple places where some fields may not be needed in all cases.Describe the solution you'd like I'd like the @include directive to work as one would expect:
Describe alternatives you've considered An alternative might be to create separate queries for each use-case, but the defeats the goal of reusability.
Additional context Thanks for considering!