Skip to content

Commit 3ffa999

Browse files
Apply suggestions from code review
Co-authored-by: Richard Sill <[email protected]>
1 parent 9529472 commit 3ffa999

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

modules/ROOT/pages/directives/custom-logic.adoc

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -597,12 +597,16 @@ new Neo4jGraphQL({
597597
})
598598
----
599599

600-
Note that the second positional argument, in this case `_args`, has a type of `Record<string, never>`, and as such it will always be an empty object, this is to maintain a compatible signature with GraphQL resolvers.
600+
Note that the second positional argument, in this case `_args`, has a type of `Record<string, never>`, and as such it is always an empty object.
601+
This is to maintain a compatible signature with GraphQL resolvers.
601602

602603

603604
**`populatedByOperation`**
604605

605-
The `context` argument contains the field `populatedByOperation`. This field is the mutation type that triggered the callback (`CREATE` or `UPDATE`). `populatedByOperation` allows for different logic to be executed depending on the type of operation. For example:
606+
The `context` argument contains the field `populatedByOperation`.
607+
This field is the mutation type that triggered the callback (`CREATE` or `UPDATE`).
608+
`populatedByOperation` allows for different logic to be executed depending on the type of operation.
609+
For example:
606610

607611
[source, javascript, indent=0]
608612
----

0 commit comments

Comments
 (0)