gql-dart / ferry

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

[Feature Request] Export request query to graphql #599

Open chutuananh2k opened 2 months ago

chutuananh2k commented 2 months ago

Sometime we want to store query for later use, for example, to implement "saved search" feature. In my case I want to store the query and do cron job on the backend. It would be great if we can export Request and Vars to its graphql string repesentation.

knaeckeKami commented 2 months ago

You can! The request classes are serializable