Skip to content

Commit

Permalink
Merge pull request #546 from alex-ketch/fix-scalar-doc-string
Browse files Browse the repository at this point in the history
fix typo in Date scalar doc string
  • Loading branch information
olirice authored Aug 5, 2024
2 parents d1acb1b + 52cd64b commit 2d5a995
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 1 addition & 1 deletion docs/assets/demo_schema.graphql
Original file line number Diff line number Diff line change
Expand Up @@ -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

"""
Expand Down
2 changes: 1 addition & 1 deletion src/graphql.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
2 changes: 1 addition & 1 deletion test/expected/resolve_graphiql_schema.out
Original file line number Diff line number Diff line change
Expand Up @@ -3338,7 +3338,7 @@ begin;
], +
"interfaces": [ +
], +
"description": "A date wihout time information", +
"description": "A date without time information", +
"inputFields": null, +
"possibleTypes": null +
}, +
Expand Down

0 comments on commit 2d5a995

Please sign in to comment.