zino-hofmann / graphql-flutter

A GraphQL client for Flutter, bringing all the features from a modern GraphQL client to one easy to use package.
https://zino-hofmann.github.io/graphql-flutter
MIT License
3.24k stars 613 forks source link

Freezed like `copyWith` method for `WatchQueryOptions` #1154

Open vasilich6107 opened 2 years ago

vasilich6107 commented 2 years ago

Hi. Recently graphql_client got copyWith... methods to alter WatchQueryOptions. It is not very comfortable to use separate methods for dealing with each value one by one.

budde377 commented 2 years ago

@vasilich6107 not sure I understand the issue, do you mind elaborating on what you find awkward and what you see as a better solution?