@soda-gql/runtime 0.12.3 → 0.12.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +3 -3
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -41,7 +41,7 @@ export const userQuery = gql.default(({ query }) =>
|
|
|
41
41
|
// After transformation (automatically handled by build plugin)
|
|
42
42
|
import { gqlRuntime } from "@soda-gql/runtime";
|
|
43
43
|
|
|
44
|
-
export const userQuery = gqlRuntime.getOperation("
|
|
44
|
+
export const userQuery = gqlRuntime.getOperation("GetUser");
|
|
45
45
|
```
|
|
46
46
|
|
|
47
47
|
## API Reference
|
|
@@ -53,8 +53,8 @@ The main runtime object for operation management:
|
|
|
53
53
|
```typescript
|
|
54
54
|
import { gqlRuntime } from "@soda-gql/runtime";
|
|
55
55
|
|
|
56
|
-
// Get an operation by
|
|
57
|
-
const operation = gqlRuntime.getOperation("
|
|
56
|
+
// Get an operation by name
|
|
57
|
+
const operation = gqlRuntime.getOperation("GetUser");
|
|
58
58
|
```
|
|
59
59
|
|
|
60
60
|
## Zero-Runtime Philosophy
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@soda-gql/runtime",
|
|
3
|
-
"version": "0.12.
|
|
3
|
+
"version": "0.12.4",
|
|
4
4
|
"description": "Minimal runtime for soda-gql operations",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"private": false,
|
|
@@ -48,7 +48,7 @@
|
|
|
48
48
|
"./package.json": "./package.json"
|
|
49
49
|
},
|
|
50
50
|
"dependencies": {
|
|
51
|
-
"@soda-gql/core": "0.12.
|
|
51
|
+
"@soda-gql/core": "0.12.4"
|
|
52
52
|
},
|
|
53
53
|
"devDependencies": {},
|
|
54
54
|
"peerDependencies": {},
|