Skip to content

Commit b36d1ce

Browse files
committed
update the comment to explain the schema in README as per comment
Signed-off-by: asararatnakar <[email protected]>
1 parent 3d1d5e2 commit b36d1ce

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

injection/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@ The `@inject` directive enables dependency injection in GraphQL schemas by allow
1313
## Schema Structure
1414

1515
```graphql
16-
# Extract expansion variables from X into any selection of `Query.*`
17-
_inject_x: JSON
16+
# Inject electronic product (JSON) data as expansion variables available to any Query field
17+
_inject_electronic_products: JSON
1818
@inject(on: [{ expose: true, types: "Query", fields: ".*" }])
1919
@materializer(
2020
query: "products"

0 commit comments

Comments
 (0)