Skip to content

Retrieving many to many relationship with additional Fields. #2246

Discussion options

You must be logged in to vote

"ERROR: No subset types are available. Please make sure that one of your GraphQL type is a subset of your t.model('')", - This error appears because you name in Nexus model does not match prisma model. As soon as i matched them it works fine.
I hope this will help others that will come across this issue!

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by AleksandrukTad
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant