Skip to content

Generated TS operation type is not using types from schema #6486

Answered by ardatan
tsareg asked this question in Q&A
Discussion options

You must be logged in to vote

typescript-operations picks the fields you selected in the operations so it is not always companiesWithRank: Array<Maybe<RentalCarsCompanyWithRank>> . If you want to see how it picks it up, you can add preResolveTypes: false.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@tsareg
Comment options

Answer selected by dotansimha
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants