Skip to content
New issue

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

Schema Generator does not generate top level _and, _or, and _not filter operators #1388

Open
thekevinbrown opened this issue Nov 27, 2024 · 0 comments

Comments

@thekevinbrown
Copy link
Member

thekevinbrown commented Nov 27, 2024

Describe the bug
Back when we were on TypeGraphQL it used to be possible to do top level _and, _or, and _not queries. These seem to not be generated by the schema generator anymore.

To Reproduce

Try to run this query at https://demo.graphweaver.com/

{
  tracks(filter: {_or: [{id: 5}, {id: 6}]}) {
    id
    name
  }
}

Yes, in this case we could use id_in, but more complex filters are possible with these operators.

Expected behavior
Expected top level _and, _or, and _not to be available in filter.

Actual behavior
They are not available.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant