-
Notifications
You must be signed in to change notification settings - Fork 20
Open
Labels
bugSomething isn't workingSomething isn't working
Description
I've run into an issue regarding belongsToMany relationships. It seems that a type is not generated when there is a join table. This is causing graphcraft to not function using graphql and graphql-http (specifically the express library).
For example:
This is the error: The type of Workorder.WorkorderParts must be Output Type but got: undefined.
We have a Workorder model, a Parts model and a join table, WorkorderParts.
Can anyone provide any guidance as to why this is happening? Is this a known issue or am I just doing something incorrectly?
Thanks in advance.
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working