From 7d5be5def3c5137020d1e3c0f68bc1f4af5481ca Mon Sep 17 00:00:00 2001 From: Keenan Nemetz Date: Fri, 12 Jan 2024 14:32:31 -0800 Subject: [PATCH] fix(i): Update example with typed input (#2205) ## 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 --- examples/request/user_creation.graphql | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/request/user_creation.graphql b/examples/request/user_creation.graphql index 0cab4c6d45..b7b694a009 100644 --- a/examples/request/user_creation.graphql +++ b/examples/request/user_creation.graphql @@ -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 } }