-
Notifications
You must be signed in to change notification settings - Fork 253
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
dest/graphql: convert comments to description strings (#3702)
* convert comments to description strings * fix missing text on label
- Loading branch information
1 parent
1c28326
commit b7da873
Showing
3 changed files
with
296 additions
and
109 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,25 +1,22 @@ | ||
|
||
|
||
""" | ||
Known error codes that the server can return. | ||
These values will be returned in the `extensions.code` field of the error response. | ||
""" | ||
enum ErrorCode { | ||
""" | ||
The input value is invalid, the `path` field will contain the exact path to the invalid input. | ||
""" | ||
The input value is invalid, the `path` field will contain the exact path to the invalid input. | ||
A separate error will be returned for each invalid field. | ||
""" | ||
INVALID_INPUT_VALUE | ||
A separate error will be returned for each invalid field. | ||
""" | ||
INVALID_INPUT_VALUE | ||
|
||
""" | ||
The `path` field contains the exact path to the DestinationInput that is invalid. | ||
""" | ||
The `path` field contains the exact path to the DestinationInput that is invalid. | ||
The `extensions.fieldID` field contains the ID of the input field that is invalid. | ||
The `extensions.fieldID` field contains the ID of the input field that is invalid. | ||
A separate error will be returned for each invalid field. | ||
""" | ||
INVALID_DEST_FIELD_VALUE | ||
A separate error will be returned for each invalid field. | ||
""" | ||
INVALID_DEST_FIELD_VALUE | ||
} |
Oops, something went wrong.