Commit 700b14af authored by Sean Arnold's avatar Sean Arnold Committed by Douglas Barbosa Alexandre

Make rotation nullable

parent 4a0763eb
...@@ -3333,7 +3333,7 @@ Describes an incident management on-call schedule. ...@@ -3333,7 +3333,7 @@ Describes an incident management on-call schedule.
| `description` | [`String`](#string) | Description of the on-call schedule. | | `description` | [`String`](#string) | Description of the on-call schedule. |
| `iid` | [`ID!`](#id) | Internal ID of the on-call schedule. | | `iid` | [`ID!`](#id) | Internal ID of the on-call schedule. |
| `name` | [`String!`](#string) | Name of the on-call schedule. | | `name` | [`String!`](#string) | Name of the on-call schedule. |
| `rotation` | [`IncidentManagementOncallRotation!`](#incidentmanagementoncallrotation) | On-call rotation for the on-call schedule. | | `rotation` | [`IncidentManagementOncallRotation`](#incidentmanagementoncallrotation) | On-call rotation for the on-call schedule. |
| `rotations` | [`IncidentManagementOncallRotationConnection!`](#incidentmanagementoncallrotationconnection) | On-call rotations for the on-call schedule. | | `rotations` | [`IncidentManagementOncallRotationConnection!`](#incidentmanagementoncallrotationconnection) | On-call rotations for the on-call schedule. |
| `timezone` | [`String!`](#string) | Time zone of the on-call schedule. | | `timezone` | [`String!`](#string) | Time zone of the on-call schedule. |
......
...@@ -35,7 +35,7 @@ module Types ...@@ -35,7 +35,7 @@ module Types
field :rotation, field :rotation,
OncallRotationType, OncallRotationType,
null: false, null: true,
description: 'On-call rotation for the on-call schedule.', description: 'On-call rotation for the on-call schedule.',
resolver: ::Resolvers::IncidentManagement::OncallRotationsResolver.single resolver: ::Resolvers::IncidentManagement::OncallRotationsResolver.single
end end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment