Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix typo in Date scalar doc string #546

Merged
merged 3 commits into from
Aug 5, 2024
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading