-
Notifications
You must be signed in to change notification settings - Fork 87
Open
Labels
Status: Up for grabsIssues that are ready to be worked on by anyoneIssues that are ready to be worked on by anyoneType: FeatureNew feature or requestNew feature or request
Description
Describe the need
It would be nice if calling graphql(SomeAppropriateConstant)
would apply the appropriate Typescript types to the input variables and return value. The graphql-codegen
ecosystem has tooling to compile queries to that appropriate constant, but it needs a small amount of integration with request libraries to propagate the types.
https://github.com/dotansimha/graphql-typed-document-node?tab=readme-ov-file#how-can-i-support-this-in-my-library has instructions. The main cost is in adding a dependency on that type-only library.
SDK Version
No response
API Version
No response
Relevant log output
No response
Code of Conduct
- I agree to follow this project's Code of Conduct
Metadata
Metadata
Assignees
Labels
Status: Up for grabsIssues that are ready to be worked on by anyoneIssues that are ready to be worked on by anyoneType: FeatureNew feature or requestNew feature or request
Type
Projects
Status
🔥 Backlog