Skip to content

climb query type returns null for deepwatersolo #468

@glassbead0

Description

@glassbead0

Make a GQL query like:

  climb(uuid: $route_id) {
      type {
        aid
        alpine
        bouldering
        deepwatersolo
        ice
        mixed
        snow
        sport
        tr
        trad
      }

It returns this

        "aid": false,
        "alpine": false,
        "bouldering": false,
        "deepwatersolo": null,
        "ice": false,
        "mixed": false,
        "snow": false,
        "sport": true,
        "tr": false,
        "trad": false
      }```

Notice how `deepwatersolo` is null, instead of false. it should be false

NOTE: When a route IS actually a deepwatersolo route, it correctly returns `true`.

Likely low priority and low impact, but still a bug.

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