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

Grapple doesn't report query errors... #305

Open
dopry opened this issue Jan 19, 2023 · 0 comments
Open

Grapple doesn't report query errors... #305

dopry opened this issue Jan 19, 2023 · 0 comments

Comments

@dopry
Copy link
Collaborator

dopry commented Jan 19, 2023

I as passing a qs.sort('date') to grapple, but hadn't added FilterField("date") to the model and I was getting a response with none, rather than raising an error. An exception was being raise in grapple.utils.resolve_paginated_queryset by qs.search(). Should this return a graphql error instead of a null value?

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