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
I have a few questions–would you consider enabling the "Discussions" GitHub feature for community help? :)
First question is specific to graphql-let. Is it possible to include fragments when using the { gql } from "graphql-let/macro" that themselves are defined using gql? Or are fragments only supported when they're stored in a .graphql file?
Next questions may be graphql-codegen specific, not sure (I'm migrating from Apollo):
Is it possible to customize the name of generated types for queries (not schema types)? They go under something like graphql-let/__generated__/src/MyComponent/index-MyQuery-MyOtherQuery by default, so any imports break if you add additional queries to the file.
Is it possible to export separate generated types for each field in a query? With Apollo codegen for example, if I have a query like
then the something, edges, and node fields will each have separate interfaces exported. By default, graphql-let defines a single interface for Something which has the entire structure declared inline.
Thanks! this library is really exciting
The text was updated successfully, but these errors were encountered:
I have a few questions–would you consider enabling the "Discussions" GitHub feature for community help? :)
First question is specific to
graphql-let
. Is it possible to include fragments when using the{ gql } from "graphql-let/macro"
that themselves are defined usinggql
? Or are fragments only supported when they're stored in a.graphql
file?Next questions may be
graphql-codegen
specific, not sure (I'm migrating from Apollo):Is it possible to customize the name of generated types for queries (not schema types)? They go under something like
graphql-let/__generated__/src/MyComponent/index-MyQuery-MyOtherQuery
by default, so any imports break if you add additional queries to the file.Is it possible to export separate generated types for each field in a query? With Apollo codegen for example, if I have a query like
then the
something
,edges
, andnode
fields will each have separate interfaces exported. By default,graphql-let
defines a single interface forSomething
which has the entire structure declared inline.Thanks! this library is really exciting
The text was updated successfully, but these errors were encountered: