We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hi, can you tell me how to get pivot? I tried this but it gives the error "Unknown kind of type: TodoTag"
Type(Todo.self) { Field("id", at: \.id) Field("title", at: \.title) Field("user", with: \.$user) Field("tags", with: \.$tags.$pivots) }
The text was updated successfully, but these errors were encountered:
Please make sure to register the TodoTag GraphQL type with Types(TodoTag.self) in your schema. Example: https://github.com/GraphQLSwift/Graphiti/blob/af903a243862c6427935677b91f67df0c21f2a71/Tests/GraphitiTests/StarWarsAPI/StarWarsAPI.swift#L101
TodoTag
Types(TodoTag.self)
Sorry, something went wrong.
Thanks a lot, added Types (TodoTag.self) and it worked
Types (TodoTag.self)
No branches or pull requests
Hi, can you tell me how to get pivot?
I tried this but it gives the error "Unknown kind of type: TodoTag"
The text was updated successfully, but these errors were encountered: