Skip to content

Add bounded __namespace__ query support. #49

@danjacques

Description

@danjacques

This is a valid GQL query:
SELECT __key__ FROM __namespace__ WHERE __key__ > KEY(__namespace__, "foo")

Currently, bounded __namespace__ queries will not work. There are two underlying problems, one global and one specifically applying to impl/memory.

Globally, FinalizedQuery.Valid disallows special kind keys when validating inequality filters, so this query cannot be validated.

Additionally, in impl/memory, inequality filters aren't applied to namespace queries.

Metadata

Metadata

Assignees

No one assigned

    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