Lucas
11/04/2020, 7:22 AMnexus/schema
and nexus-plugin-prismic
to create the schema an then use it into apollo-server
or graphql-yoga
.
My question is if there is any way to automatically build NexusSchema.makeSchema
?
Or maybe i am confused and the way to go is to pass the nexus-prismic-plugin
as a plugin options to makeSchema
and this should be enough?
Thanks in advance!Ryan
11/04/2020, 7:39 AMLucas
11/04/2020, 7:40 AMLucas
11/04/2020, 7:40 AMLucas
11/04/2020, 7:40 AMRyan
11/04/2020, 7:43 AMnexus-plugin-prisma
will only automatically create your schema.graphql
file. The models would have to be written by you manually and passed to makeSchema
.Lucas
11/04/2020, 7:44 AM