mirror of
https://github.com/ash-project/ash_graphql.git
synced 2024-09-19 21:03:09 +12:00
improvement: more non null constraints
This commit is contained in:
parent
cd52eabd2c
commit
91a457ed2e
2 changed files with 2 additions and 2 deletions
|
@ -96,7 +96,7 @@ defmodule AshGraphql.Api do
|
|||
identifier: :id,
|
||||
module: schema,
|
||||
name: "id",
|
||||
type: :id
|
||||
type: %Absinthe.Blueprint.TypeReference.NonNull{of_type: :id}
|
||||
}
|
||||
],
|
||||
identifier: :node,
|
||||
|
|
|
@ -2152,7 +2152,7 @@ defmodule AshGraphql.Resource do
|
|||
|
||||
%Absinthe.Blueprint.Schema.FieldDefinition{
|
||||
description: attribute.description,
|
||||
identifier: :id,
|
||||
identifier: %Absinthe.Blueprint.TypeReference.NonNull{of_type: :id},
|
||||
module: schema,
|
||||
name: "id",
|
||||
type: :id,
|
||||
|
|
Loading…
Reference in a new issue