-
Notifications
You must be signed in to change notification settings - Fork 73
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
Trying to improve doc. of execution-pipline.md by correcting and... #497
base: dev
Are you sure you want to change the base?
Conversation
|
||
As result of GraphQL query execution, a dictionary with resolved values will be returned. It contains following fields: | ||
The result of a GraphQL query execution is a dictionary with resolved values. This dictionary contains the following fields: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actually, now it is a GQLResponse
object
type GQLResponse =
{ DocumentId: int
Data : Output Skippable
Errors : GQLProblemDetails list Skippable }
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The result of a GraphQL query execution is a dictionary with resolved values. This dictionary contains the following fields: | |
The result of a GraphQL query execution is a `GQLResponse` object with the following fields: |
- `documentId`: which is the hash code of the query's AST document - it can be used to implement execution plan caching (persistent queries). | ||
- `data`: with a formated GraphQL response matching the requested query. | ||
- `errors`: optional. If it has been provided, it will contain a list of errors that occured during query execution. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- `documentId`: which is the hash code of the query's AST document - it can be used to implement execution plan caching (persistent queries). | |
- `data`: with a formated GraphQL response matching the requested query. | |
- `errors`: optional. If it has been provided, it will contain a list of errors that occured during query execution. | |
- `documentId`: which is the hash code of the query's AST document - it can be used to implement execution plan caching (persistent queries). | |
- `data`: optional, a formatted GraphQL response matching the requested query (`KeyValuePair seq`). Absent in case of an error that does not allow continuing processing and returning any GraphQL results. | |
- `errors`: optional, contains a list of errors (`GQLProblemDetails`) that occurred during query execution. |
d90f0e9
to
434b4be
Compare
rephrasing.