gql-dart / ferry

Stream-based strongly typed GraphQL client for Dart
https://ferrygraphql.com/
MIT License
602 stars 116 forks source link

Support for @include and @skip directives #468

Closed vincenzopalazzo closed 1 year ago

vincenzopalazzo commented 1 year ago

Streaming there an issue found inside graphql-flutter https://github.com/zino-hofmann/graphql-flutter/issues/1246

I do not know if it is duplicate or already supported

knaeckeKami commented 1 year ago

It should be supported in normalize ^0.8.0 by https://github.com/gql-dart/ferry/pull/433 . But I did not hear from any user back if this is the case and I also did not use it myself yet

I decided to make it a breaking change release since it is a change in behaviour (it would throw an exception before in certain cases, now it won't) and I was not sure if any user depends on these PartialDataExceptions being thrown

vincenzopalazzo commented 1 year ago

Thanks I will upgrade and put in the next beta, so we will see if this will work

vincenzopalazzo commented 1 year ago

Working on it, looks like that we can close it