You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: modules/ROOT/pages/ogm/installation.adoc
+3-2Lines changed: 3 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -23,7 +23,8 @@ Here are some examples of how you can use the OGM.
23
23
[[ogm-examples-custom-resolvers]]
24
24
=== Custom Resolvers
25
25
26
-
A common use case for the OGM are custom resolvers inside a Neo4j GraphQL instance due to the fact that it has access to some fields which the Neo4j GraphQL Library has not.
26
+
The OGM has access to some fields which the Neo4j GraphQL Library doesn't.
27
+
It is common practice to use the OGM to create custom resolvers when dealing with such fields.
27
28
For example, you can have a `password` field marked with the `@private` directive and a custom resolver for creating users with passwords.
28
29
29
30
Execute the following to create an example application directory and create a new project:
@@ -157,7 +158,7 @@ async function main() {
157
158
main();
158
159
----
159
160
160
-
Additionally, create a file `utils.js` in the same directory.
0 commit comments