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 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..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 wihout time information", + + "description": "A date without time information", + "inputFields": null, + "possibleTypes": null + }, +