Skip to content

GraphQL Uuid Filter Options #882

Open
@gledis69

Description

@gledis69

Different types in graphql support different filter options:
e.g.

query {
	books(_filter: {id: {lt: 5 gt: 2}} title: {contains: "Book" notContains: "Great"})
	{
		...
	}
}

Currently, the uuid type is handled as String which supports:
eq, contains, notContains, startsWith, endsWith, neq, caseInsensitive, isNull

Most of these options are not meaningful for the uuid type. We can create custom scalar types quite easily and add a restricted set of filter options. Afaict, eq, gt, lt make sense for uuid.

@yorek @Aniruddh25 thoughts?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions