I have a need for a new QueryInput:
query {
authorizationGroup(query: { name: "name" }) {
_id
description
name
}
}
The problem with the query above is it is a FULL match. I want a partial match. Cool custom resolver:
query {
authorizationGroup {
name_contains(input: "admin") {
name
description
}
}
}
The problem with this what if I want to combine it with limits and sorts and such. I want to do this:
query {
authorizationGroup(query: { name_contains: "name*" }) {
_id
description
name
}
}
Notice that the QueryInput is name_contains and can be combined with all other queryables. I have not seen in the documentation explaining this scenario at all. This seems like it is not possible but maybe I missed something.