Extend query using the UserFilter and got Relations are currently not supported

framework

#1

When I try to extend the query to include a new query function which use the UserFilter, I got:
Relations are currently not supported

Here is my hello.graphql

type aggs @model {
name: Json!
id: Json!
dateOfBirth: Json!
}

extend type Query {
aggUsers(
filter: UserFilter!
): aggs!
}

To work around the problem, I need to make the filter to Json!
Ami I missing something here.
Thanks


#2

Hi,

Are you using the mongoDB connector? If so then you should use the 1.24-beta image as relational filters are currently in beta for the mongo connector.


#3

@pantharshit00. I am new with graphcool and was just trying to extend the quickstart (hello-world)
https://www.graph.cool/docs/quickstart/
by editing the src/hello.graphql
and I hit the roadblock when “graphcool deploy” with the graphql schema I mentioned above.
I don’t think I am using the prisma mongoDB connector.
I google around and seems like nobody mention such issue.
Perhaps I have missed something here.
Thanks


#4

This topic was automatically closed 45 days after the last reply. New replies are no longer allowed.