Skip to content

Commit

Permalink
fix(comments): clarify GitObject#{since,until} (#955)
Browse files Browse the repository at this point in the history
* build: schema.json and schema.d.ts updated

* update schema

---------

Co-authored-by: Octokit Bot <[email protected]>
Co-authored-by: Gregor Martynus <[email protected]>
  • Loading branch information
3 people authored Jun 11, 2024
1 parent a7b88f3 commit d4b7bc5
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
6 changes: 4 additions & 2 deletions schema.graphql
Original file line number Diff line number Diff line change
Expand Up @@ -4865,12 +4865,14 @@ type Commit implements GitObject & Node & Subscribable & UniformResourceLocatabl
path: String

"""
Allows specifying a beginning time or date for fetching commits.
Allows specifying a beginning time or date for fetching commits. Unexpected
results may be returned for dates not between 1970-01-01 and 2099-12-13 (inclusive).
"""
since: GitTimestamp

"""
Allows specifying an ending time or date for fetching commits.
Allows specifying an ending time or date for fetching commits. Unexpected
results may be returned for dates not between 1970-01-01 and 2099-12-13 (inclusive).
"""
until: GitTimestamp
): CommitHistoryConnection!
Expand Down
4 changes: 2 additions & 2 deletions schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -12549,7 +12549,7 @@
},
{
"name": "since",
"description": "Allows specifying a beginning time or date for fetching commits.",
"description": "Allows specifying a beginning time or date for fetching commits. Unexpected results may be returned for dates not between 1970-01-01 and 2099-12-13 (inclusive).",
"type": {
"kind": "SCALAR",
"name": "GitTimestamp",
Expand All @@ -12559,7 +12559,7 @@
},
{
"name": "until",
"description": "Allows specifying an ending time or date for fetching commits.",
"description": "Allows specifying an ending time or date for fetching commits. Unexpected results may be returned for dates not between 1970-01-01 and 2099-12-13 (inclusive).",
"type": {
"kind": "SCALAR",
"name": "GitTimestamp",
Expand Down

0 comments on commit d4b7bc5

Please sign in to comment.