Skip to content

Harmonizing results for quays and stopPlaces queries with none/null/empty ids filter #6543

@vpaturet

Description

@vpaturet

The return values of the quays and stopPlaces TransModel queries are inconsistent when queried with none/null/empty ids filter.

Query ids parameter Current Result Target Result Query link
stopPlaces no parameter all stop places error https://api.staging.entur.io/graphql-explorer/journey-planner-v3?query=%7B%0A%20%20%0A%20stopPlaces%20%7B%0A%20%20id%20%20%0A%7D%0A%20%20%0A%20%20%7D&variables=
stopPlaces null all stop places error https://api.staging.entur.io/graphql-explorer/journey-planner-v3?query=%7B%0A%20%20%0A%20stopPlaces%28ids%3A%20null%29%20%7B%0A%20%20id%20%20%0A%7D%0A%20%20%0A%20%20%7D&variables=
stopPlaces [] empty result empty result https://api.staging.entur.io/graphql-explorer/journey-planner-v3?query=%7B%0A%20%20%0A%20stopPlaces%28ids%3A%20%5B%5D%29%20%7B%0A%20%20id%20%20%0A%7D%0A%20%20%0A%20%20%7D&variables=
quays no parameter all quays error https://api.staging.entur.io/graphql-explorer/journey-planner-v3?query=%7B%0A%20%20%0A%20quays%20%7B%0A%20%20id%20%20%0A%7D%0A%20%20%0A%20%20%7D&variables=
quays null empty result error https://api.staging.entur.io/graphql-explorer/journey-planner-v3?query=%7B%0A%20%20%0A%20quays%28ids%3A%20null%29%20%7B%0A%20%20id%20%20%0A%7D%0A%20%20%0A%20%20%7D&variables=
quays [] empty result empty result https://api.staging.entur.io/graphql-explorer/journey-planner-v3?query=%7B%0A%20%20%0A%20quays%28ids%3A%20%5B%5D%29%20%7B%0A%20%20id%20%20%0A%7D%0A%20%20%0A%20%20%7D&variables=

Note: For quays, the table above assumes that only the ids filter is used (not the name filter)

Metadata

Metadata

Assignees

No one assigned

    Labels

    StaleThis issue is stale, no activity for 90 days. Remove stale label or comment within 30 days.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions