Skip to content

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

@DrewImm

Description

@DrewImm

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    breakingThis issue will require a major version bumpenhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions