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

Search queries should throw validation error if unknown keys are used #229

Open
DrewImm opened this issue Oct 17, 2021 · 0 comments
Open
Labels
breaking This issue will require a major version bump enhancement New feature or request

Comments

@DrewImm
Copy link
Member

DrewImm commented Oct 17, 2021

Is your feature request related to a problem? Please describe.
When creating a query, if a query-type doesn't exist, no warning/error is thrown. Instead, the query-type is ignored

e.g: If you use were instead of where, it should throw an error:

{
	...
	"were": {
		...
	}
}

Describe the solution you'd like
The request should fail with a validation error

@DrewImm DrewImm added enhancement New feature or request breaking This issue will require a major version bump labels Oct 17, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
breaking This issue will require a major version bump enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant