Skip to content
This repository has been archived by the owner on Dec 6, 2024. It is now read-only.

Commit

Permalink
chore: format code
Browse files Browse the repository at this point in the history
  • Loading branch information
batrdn committed Mar 30, 2024
1 parent ba1897f commit 12df8d8
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions packages/graphql/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -193,9 +193,10 @@ const fixture = new GraphQLFixture(GetQueryDocument, {
},
});
```
> Note: if you are matching fields, you should use the `variables` and `data` prefixes to the field path.

In this example, generated mock variable `user.id` will be assigned to the generated mock data `user.id`. This makes
> Note: if you are matching fields, you should use the `variables` and `data` prefixes to the field path.
In this example, generated mock variable `user.id` will be assigned to the generated mock data `user.id`. This makes
sense because the `id` field in the variables and data should be the same.

# Resolving paths
Expand Down Expand Up @@ -241,4 +242,4 @@ fixture.generate({
fixture.generate({
'address.**.buildingNo': '1234',
});
```
```

0 comments on commit 12df8d8

Please sign in to comment.