Skip to content

Commit

Permalink
Added id list testcase
Browse files Browse the repository at this point in the history
  • Loading branch information
nametake committed Jan 25, 2024
1 parent ac5e846 commit fcda91b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions testdata/a/schema/model.graphql
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ type Type {
field: String!
fieldWithIdDirective(id: ID! @id(kind: "Kind")): FieldWithIdDirective
fieldWithNoIdDirective(id: ID!): FieldWithNoIdDirective # want "argument id of fieldWithNoIdDirective has no id directive"
fieldWithIdsDirective(id: [ID!]! @id(kind: "Kind")): FieldWithNoIdDirective
fieldWithNoIdsDirective(id: [ID!]!): FieldWithNoIdDirective # want "argument id of fieldWithNoIdDirective has no id directive"
}

type FieldWithIdDirective {
Expand Down
1 change: 1 addition & 0 deletions testdata/a/schema/mutation.graphql
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ type MutationPayload {
input NoIdDirectiveMutationInput {
name: String!
id: ID! # want "id has no id directive"
ids: [ID!]! # want "ids has no id directive"
}

type NoIdDirectiveMutationPayload {
Expand Down

0 comments on commit fcda91b

Please sign in to comment.