Skip to content

Missing Query Filters for Bytes type #4282

Closed
@jaimehgb

Description

@jaimehgb

Do you want to request a feature or report a bug?

Request a feature

What is the current behavior?

The Bytes type doesn’t expose the filters _gt _gte _lt _lte to the GraphQL API. As opposed to the other types like String, ID, Int and BigInt.

Screenshot 2023-01-05 at 11 12 37

What is the expected behavior?

Exposing _gt _gte _lt _lte would be really useful when using this type for entity IDs. Specially when there is a need to paginate through large numbers of entities, since using skip queries seems to be discouraged. Currently, skip would be the only way to paginate through entities with Bytes IDs. Another option would be duplicating the ID in an additional field as a String, but defeats the purpose of using Bytes in the first place.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions