Skip to content

Commit

Permalink
Make some fields nullable
Browse files Browse the repository at this point in the history
  • Loading branch information
kl4us committed Aug 5, 2023
1 parent fe1a647 commit 499ea76
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/graphql/schema/Climb.gql
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,10 @@ type Climb {
length: Int!

"Number of bolts/permanent anchors, if known (-1 otherwise)"
boltsCount: Int!
boltsCount: Int

"List of Pitch objects representing individual pitches of a multi-pitch climb"
pitches: [Pitch]!
pitches: [Pitch]

"The grade(s) assigned to this climb. See GradeType documentation"
grades: GradeType
Expand Down Expand Up @@ -200,9 +200,9 @@ type Pitch {
uuid: ID!
parent_id: ID!
number: Int!
grades: GradeType!
type: ClimbType!
length: Int!
grades: GradeType
type: ClimbType
length: Int
boltsCount: Int
description: String
}

0 comments on commit 499ea76

Please sign in to comment.