From a9ae1060805a187bfd3d2958a6fdeebac75b2fa8 Mon Sep 17 00:00:00 2001 From: Alex Ketch Date: Mon, 5 Aug 2024 15:49:33 -0400 Subject: [PATCH 1/3] fix typo in Date scalar doc string --- docs/assets/demo_schema.graphql | 2 +- src/graphql.rs | 2 +- test/expected/resolve_graphiql_schema.out | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/assets/demo_schema.graphql b/docs/assets/demo_schema.graphql index fec2f4b5..2715e2fe 100644 --- a/docs/assets/demo_schema.graphql +++ b/docs/assets/demo_schema.graphql @@ -424,7 +424,7 @@ An opaque string using for tracking a position in results during pagination """ scalar Cursor -"""A date wihout time information""" +"""A date without time information""" scalar Date """ diff --git a/src/graphql.rs b/src/graphql.rs index 72868ff1..d91fea97 100644 --- a/src/graphql.rs +++ b/src/graphql.rs @@ -1594,7 +1594,7 @@ impl ___Type for Scalar { Self::String(_) => "A string", Self::Boolean => "A value that is true or false", Self::BigInt => "An arbitrary size integer represented as a string", - Self::Date => "A date wihout time information", + Self::Date => "A date without time information", Self::Time => "A time without date information", Self::Datetime => "A date and time", Self::UUID => "A universally unique identifier", diff --git a/test/expected/resolve_graphiql_schema.out b/test/expected/resolve_graphiql_schema.out index cdc90b1e..44073ec5 100644 --- a/test/expected/resolve_graphiql_schema.out +++ b/test/expected/resolve_graphiql_schema.out @@ -3338,7 +3338,7 @@ begin; ], + "interfaces": [ + ], + - "description": "A date wihout time information", + + "description": "A date without time information", + "inputFields": null, + "possibleTypes": null + }, + From 10d332af894ea3dffebe4524ac041da91b834590 Mon Sep 17 00:00:00 2001 From: Oliver Rice Date: Mon, 5 Aug 2024 15:54:29 -0500 Subject: [PATCH 2/3] fix test output --- test/expected/resolve_graphiql_schema.out | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/expected/resolve_graphiql_schema.out b/test/expected/resolve_graphiql_schema.out index 44073ec5..454f9465 100644 --- a/test/expected/resolve_graphiql_schema.out +++ b/test/expected/resolve_graphiql_schema.out @@ -3338,7 +3338,7 @@ begin; ], + "interfaces": [ + ], + - "description": "A date without time information", + + "description": "A date without time information", + "inputFields": null, + "possibleTypes": null + }, + From 52cd64b79b11896314e74e652e9ff9da57cdb2c1 Mon Sep 17 00:00:00 2001 From: Oliver Rice Date: Mon, 5 Aug 2024 15:56:51 -0500 Subject: [PATCH 3/3] docker-compose to docker compose --- .github/workflows/test.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 59f936ec..22691baa 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -15,7 +15,7 @@ jobs: uses: actions/checkout@v3 - name: Build docker images - run: PG_VERSION=${{ matrix.postgres }} docker-compose -f .ci/docker-compose.yml build + run: PG_VERSION=${{ matrix.postgres }} docker compose -f .ci/docker-compose.yml build - name: Run tests - run: PG_VERSION=${{ matrix.postgres }} docker-compose -f .ci/docker-compose.yml run test + run: PG_VERSION=${{ matrix.postgres }} docker compose -f .ci/docker-compose.yml run test