Skip to content

Commit

Permalink
fix(i): Update example with typed input (sourcenetwork#2205)
Browse files Browse the repository at this point in the history
## Relevant issue(s)

N/A

## Description

This PR updates the example create request with the new typed input.

## Tasks

- [x] I made sure the code is well commented, particularly
hard-to-understand areas.
- [x] I made sure the repository-held documentation is changed
accordingly.
- [x] I made sure the pull request title adheres to the conventional
commit style (the subset used in the project can be found in
[tools/configs/chglog/config.yml](tools/configs/chglog/config.yml)).
- [x] I made sure to discuss its limitations such as threats to
validity, vulnerability to mistake and misuse, robustness to
invalidation of assumptions, resource requirements, ...

## How has this been tested?

N/A

Specify the platform(s) on which this was tested:
- MacOS
  • Loading branch information
nasdf authored Jan 12, 2024
1 parent fc6f03c commit 7d5be5d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/request/user_creation.graphql
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
mutation {
create_User(data: "{\"age\": 31, \"verified\": true, \"points\": 90, \"name\": \"Bob\"}") {
create_User(input: {age: 31, verified: true, points: 90, name: "Bob"}) {
_docID
}
}

0 comments on commit 7d5be5d

Please sign in to comment.