diff --git a/app/graphql/schema.graphql b/app/graphql/schema.graphql index 0065c474f..32543dbcd 100644 --- a/app/graphql/schema.graphql +++ b/app/graphql/schema.graphql @@ -4438,12 +4438,12 @@ type Identifier { """ The value of the identifier. """ - identifier: String! + identifier: String """ The type of identifier. """ - identifierType: String! + identifierType: String """ The url of the identifier. diff --git a/app/graphql/types/identifier_type.rb b/app/graphql/types/identifier_type.rb index cb6384c44..c4e248dd4 100644 --- a/app/graphql/types/identifier_type.rb +++ b/app/graphql/types/identifier_type.rb @@ -3,7 +3,7 @@ class IdentifierType < BaseObject description "Information about identifiers" - field :identifier_type, String, null: false, hash_key: "identifierType", description: "The type of identifier." - field :identifier, String, null: false, description: "The value of the identifier." + field :identifier_type, String, null: true, hash_key: "identifierType", description: "The type of identifier." + field :identifier, String, null: true, description: "The value of the identifier." field :identifier_url, String, null: true, hash_key: "identifierUrl", description: "The url of the identifier." end