Is there a way to define a GraphQL fragment using TypeGraphQL?

266 Views Asked by At

Couldn't find anything related to GraphQL fragments in the TypGraphQL docs. Am I missing something or is it not possible to do so.

1

There are 1 best solutions below

0
Michał Lytek On

TypeGraphQL is a server-side library. GraphQL fragment is a client-side feature.

So no, there's no way to do that in any server-side library, even in reference graphql-js implementation.