Skip to content

feature: Remove the local validation of the query filters when calling client.filters() #9

@dgarros

Description

@dgarros

Component

Python SDK

Describe the Feature Request

Currently in the python SDK we are automatically validating the query filters passed to client.filters() based on the information provided in the schema.

This local validation has been the root cause of a few issues recently because the filters provided as part of the schema aren't 100% identical to the filters supported by the GraphQL api.

Since the GraphQL API will validate the query filters anyway the proposal is to completely remove the local validation of the filters as currently implemented.

In the future if we want to have some local validation, we should probably investigate how to retrive the graphql schema directly and do a validation of the graphql query based on the schema

Describe the Use Case

Improve the user experience and ensure that all filters available in the graphql api are available in the python SDK

Additional Information

No response

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions