framework
framework copied to clipboard
Use type-graphql schema for client-side deserialization
Currently, any client can't use the gql schema definitions in the api package. This is due to the dependency on koa and yoga, which don't run in-browser. Therefore we should separate the schema definition and the GraphqlServer module so that deserializing for the GraphqlTransportModules is easier and type-safe