Skip to content
Discussion options

You must be logged in to vote

You just need to import the files that define your types before you call .toSchema. I usually have a schema.ts file that imports all my files that define types, then have that file export the built schema

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@gino
Comment options

@hayes
Comment options

hayes Sep 7, 2021
Maintainer

@gino
Comment options

Answer selected by gino
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