You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to filter on a field which is part of a page type I have, but I am getting a an error e.g. Failed to resolve field readOneResourcePage returning ResourcePageInterface..
I would assume that the above would allow me to filter by ID on the tagGroup or tags as it's exposed in the schema. I have also attached an image of the structure of the schema in the GraphQL IDE, and the error.
I feel like I'm either missing something, or something is not working :/
Thanks in advance.
Jack
Possible Solution
No response
Additional Context
No response
Validations
Check that there isn't already an issue that reports the same bug
Double check that your reproduction steps work in a fresh installation of silverstripe/installer (with any code examples you've provided)
The text was updated successfully, but these errors were encountered:
One thing I'm also not quite following is although something like link is available to the filter argument, it's not actually allowing me to filter on it.
Module version(s) affected
5.2
Description
Hi there,
I am trying to filter on a field which is part of a page type I have, but I am getting a an error e.g.
Failed to resolve field readOneResourcePage returning ResourcePageInterface.
.I have seen this open ticket around nested filtering #307 but can also see in the docs I should be able to filter by default here
Nested fields are supported by default:
https://docs.silverstripe.org/en/5/developer_guides/graphql/working_with_dataobjects/query_plugins/How to reproduce
I am still very much in the learning stages here so I may be missing something, but here is my code (I have reduced it for the example):
Schema:
I would assume that the above would allow me to filter by ID on the
tagGroup
ortags
as it's exposed in the schema. I have also attached an image of the structure of the schema in the GraphQL IDE, and the error.I feel like I'm either missing something, or something is not working :/
Thanks in advance.
Jack
Possible Solution
No response
Additional Context
No response
Validations
silverstripe/installer
(with any code examples you've provided)The text was updated successfully, but these errors were encountered: