fix graphql schema bug

This commit is contained in:
Bachir Soussi Chiadmi 2021-02-22 12:55:29 +01:00
parent b377dc517f
commit 55cf7c4749
3 changed files with 17 additions and 13 deletions

View File

@ -49,7 +49,7 @@
"drupal/flag_lists": "4.0.x-dev@dev", "drupal/flag_lists": "4.0.x-dev@dev",
"drupal/flood_control": "^2.1", "drupal/flood_control": "^2.1",
"drupal/genpass": "^1.x-dev", "drupal/genpass": "^1.x-dev",
"drupal/graphql": "4.x-dev@dev", "drupal/graphql": "dev-4.x",
"drupal/image_delta_formatter": "^1.x-dev", "drupal/image_delta_formatter": "^1.x-dev",
"drupal/image_effects": "3.x-dev@dev", "drupal/image_effects": "3.x-dev@dev",
"drupal/jsonapi_extras": "^3.7", "drupal/jsonapi_extras": "^3.7",

16
composer.lock generated
View File

@ -4,7 +4,7 @@
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
"This file is @generated automatically" "This file is @generated automatically"
], ],
"content-hash": "abb189a7f9edd2727c2d1c13a2a2e7c6", "content-hash": "bf6b33ed14d090c469e1b7440a8b86a5",
"packages": [ "packages": [
{ {
"name": "alchemy/zippy", "name": "alchemy/zippy",
@ -5756,6 +5756,7 @@
} }
}, },
"patches_applied": { "patches_applied": {
"migrate_drupal getsetting on null": "https://www.drupal.org/files/issues/2019-02-13/migrate_drupal-getsetting_on_null.patch",
"language negociation exeption https://www.drupal.org/project/drupal/issues/3134349": "https://www.drupal.org/files/issues/2020-06-02/3134349-9.patch", "language negociation exeption https://www.drupal.org/project/drupal/issues/3134349": "https://www.drupal.org/files/issues/2020-06-02/3134349-9.patch",
"https://www.drupal.org/project/drupal/issues/2943172": "https://www.drupal.org/files/issues/2018-07-05/2943172-kernel-test-base-3.patch" "https://www.drupal.org/project/drupal/issues/2943172": "https://www.drupal.org/files/issues/2018-07-05/2943172-kernel-test-base-3.patch"
} }
@ -7445,6 +7446,9 @@
"status": "not-covered", "status": "not-covered",
"message": "Dev releases are not covered by Drupal security advisories." "message": "Dev releases are not covered by Drupal security advisories."
} }
},
"patches_applied": {
"webprofiler ConfigEntityStorageDecorator given https://www.drupal.org/project/flag_lists/issues/3198936": "https://www.drupal.org/files/issues/2021-02-17/entitystorageinterface.patch"
} }
}, },
"notification-url": "https://packages.drupal.org/8/downloads", "notification-url": "https://packages.drupal.org/8/downloads",
@ -7607,13 +7611,13 @@
"source": { "source": {
"type": "git", "type": "git",
"url": "https://git.drupalcode.org/project/graphql.git", "url": "https://git.drupalcode.org/project/graphql.git",
"reference": "da66c944996a5ddbc9e38a3bf925e43ed39b350f" "reference": "f9c573a3d33235c4e834461dcad27b0866899455"
}, },
"require": { "require": {
"drupal/core": "^8 || ^9", "drupal/core": "^8 || ^9",
"drupal/typed_data": "*", "drupal/typed_data": "*",
"php": ">=7.2", "php": ">=7.2",
"webonyx/graphql-php": "^14.3.0" "webonyx/graphql-php": "^14.5.0"
}, },
"require-dev": { "require-dev": {
"drupal/node-node": "*" "drupal/node-node": "*"
@ -7624,8 +7628,8 @@
"dev-4.x": "4.x-dev" "dev-4.x": "4.x-dev"
}, },
"drupal": { "drupal": {
"version": "8.x-4.0+15-dev", "version": "8.x-4.0+19-dev",
"datestamp": "1610444809", "datestamp": "1613496668",
"security-coverage": { "security-coverage": {
"status": "not-covered", "status": "not-covered",
"message": "Dev releases are not covered by Drupal security advisories." "message": "Dev releases are not covered by Drupal security advisories."
@ -7663,7 +7667,7 @@
"support": { "support": {
"source": "https://git.drupalcode.org/project/graphql" "source": "https://git.drupalcode.org/project/graphql"
}, },
"time": "2021-01-15T11:38:27+00:00" "time": "2021-02-16T17:48:00+00:00"
}, },
{ {
"name": "drupal/honeypot", "name": "drupal/honeypot",

View File

@ -30,12 +30,6 @@ type Materiau implements NodeInterface {
note: Note note: Note
} }
type Note implements NodeInterface {
id: Int!
contenu: String
target: Int
}
type Article implements NodeInterface { type Article implements NodeInterface {
id: Int! id: Int!
uuid: String! uuid: String!
@ -67,6 +61,12 @@ type Thematique implements NodeInterface {
memo: String memo: String
} }
type Note {
id: Int!
contenu: String
target: Int
}
type SearchResult { type SearchResult {
id: Int! id: Int!
uuid: String! uuid: String!