Something went wrong while fetching comments. Please try again.
Created by: felixfbecker
This is extended from a subset of https://github.com/sourcegraph/sourcegraph/pull/12284.
It includes:
requestGraphQL()
et al to allow them to make use of query types in our application.It does not include:
gql2ts
schema-based types. It showed value (I noticed bugs through the higher type safety) but it is a lot more effort.gql2ts
, or generating the schema-based types also with graphql-code-genarator. They have slight differences, so this would be more effort, and it makes more sense to jump directly to query-based types when refactoring.