diff --git a/composer.json b/composer.json index f7eb94a..71d2ad6 100644 --- a/composer.json +++ b/composer.json @@ -49,7 +49,7 @@ "drupal/flag_lists": "4.0.x-dev@dev", "drupal/flood_control": "^2.1", "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_effects": "3.x-dev@dev", "drupal/jsonapi_extras": "^3.7", diff --git a/composer.lock b/composer.lock index 929916b..aee5dc5 100644 --- a/composer.lock +++ b/composer.lock @@ -4,7 +4,7 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "abb189a7f9edd2727c2d1c13a2a2e7c6", + "content-hash": "bf6b33ed14d090c469e1b7440a8b86a5", "packages": [ { "name": "alchemy/zippy", @@ -5756,6 +5756,7 @@ } }, "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", "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", "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", @@ -7607,13 +7611,13 @@ "source": { "type": "git", "url": "https://git.drupalcode.org/project/graphql.git", - "reference": "da66c944996a5ddbc9e38a3bf925e43ed39b350f" + "reference": "f9c573a3d33235c4e834461dcad27b0866899455" }, "require": { "drupal/core": "^8 || ^9", "drupal/typed_data": "*", "php": ">=7.2", - "webonyx/graphql-php": "^14.3.0" + "webonyx/graphql-php": "^14.5.0" }, "require-dev": { "drupal/node-node": "*" @@ -7624,8 +7628,8 @@ "dev-4.x": "4.x-dev" }, "drupal": { - "version": "8.x-4.0+15-dev", - "datestamp": "1610444809", + "version": "8.x-4.0+19-dev", + "datestamp": "1613496668", "security-coverage": { "status": "not-covered", "message": "Dev releases are not covered by Drupal security advisories." @@ -7663,7 +7667,7 @@ "support": { "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", diff --git a/web/modules/custom/materio_graphql/graphql/materio_extension.base.graphqls b/web/modules/custom/materio_graphql/graphql/materio_extension.base.graphqls index 06ffe00..d5a4683 100644 --- a/web/modules/custom/materio_graphql/graphql/materio_extension.base.graphqls +++ b/web/modules/custom/materio_graphql/graphql/materio_extension.base.graphqls @@ -30,12 +30,6 @@ type Materiau implements NodeInterface { note: Note } -type Note implements NodeInterface { - id: Int! - contenu: String - target: Int -} - type Article implements NodeInterface { id: Int! uuid: String! @@ -67,6 +61,12 @@ type Thematique implements NodeInterface { memo: String } +type Note { + id: Int! + contenu: String + target: Int +} + type SearchResult { id: Int! uuid: String!