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
* Add page-aliases for version 4 (#31) (#32)
Co-authored-by: Neil Dewhurst <[email protected]>
* Editorial review of the latest additions (#34)
* Update publish.yml
* Editorial review of the most recent changes
* reverting changes to partials
* fixing note formatting
* Add page-aliases for version 4 (#31) (#32)
Co-authored-by: Neil Dewhurst <[email protected]>
* Editorial review of the most recent changes
* fixing note formatting
* Add page-aliases for version 4 (#31) (#32)
Co-authored-by: Neil Dewhurst <[email protected]>
* Editorial review of the most recent changes
* fixing note formatting
* Add page-aliases for version 4 (#31) (#32)
Co-authored-by: Neil Dewhurst <[email protected]>
* Editorial review of the most recent changes
* Add page-aliases for version 4 (#31)
* revert
* Apply suggestions from code review
Co-authored-by: Michael Webb <[email protected]>
---------
Co-authored-by: Neil Dewhurst <[email protected]>
Co-authored-by: Michael Webb <[email protected]>
* Fix scalar description placeholders #38 (#39)
* Editorial review of the most recent changes
* reverting changes to partials
* fixing note formatting
* Add page-aliases for version 4 (#31) (#32)
Co-authored-by: Neil Dewhurst <[email protected]>
* Editorial review of the most recent changes
* fixing note formatting
* Editorial review of the most recent changes
* fixing note formatting
* Add page-aliases for version 4 (#31) (#32)
Co-authored-by: Neil Dewhurst <[email protected]>
* Editorial review of the most recent changes
* Fix scalar description placeholders (#38)
---------
Co-authored-by: Neil Dewhurst <[email protected]>
Co-authored-by: Darrell Warde <[email protected]>
* Editorial review of the most recent changes
* reverting changes to partials
* Add page-aliases for version 4 (#31) (#32)
Co-authored-by: Neil Dewhurst <[email protected]>
* Editorial review of the most recent changes
* Editorial review of the most recent changes
* fixing note formatting
* Add page-aliases for version 4 (#31) (#32)
Co-authored-by: Neil Dewhurst <[email protected]>
* Editorial review of the most recent changes
* Standardise auth variables (#93)
* docs: use "username" in where username would be used in code examples
* docs: fix typos
* docs: remove part about creating a .env file
---------
Co-authored-by: Neil Dewhurst <[email protected]>
Co-authored-by: Michael Webb <[email protected]>
Co-authored-by: Darrell Warde <[email protected]>
Copy file name to clipboardExpand all lines: modules/ROOT/pages/getting-started/index.adoc
+3-13Lines changed: 3 additions & 13 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -107,16 +107,6 @@ To create an instance of the Neo4j GraphQL Library, you need a Neo4j driver to c
107
107
+
108
108
image::neo4j-aura-dashboard.png[width=500]
109
109
110
-
. Create a new file `.env` with the credentials described in the previous step.
111
-
It should look like this:
112
-
+
113
-
[source, config]
114
-
----
115
-
NEO4J_USER=neo4j
116
-
NEO4J_PASSWORD=password
117
-
NEO4J_URI=neo4j+s://0083654f.databases.neo4j.io
118
-
----
119
-
120
110
=== Using a Neo4j database
121
111
122
112
For a database located at the default "bolt://localhost:7687" (see more about https://neo4j.com/docs/operations-manual/current/configuration/ports[port configuration]), with the username "neo4j" and the password "password", add the following to the bottom of your `index.js` file:
@@ -125,7 +115,7 @@ For a database located at the default "bolt://localhost:7687" (see more about ht
125
115
----
126
116
const driver = neo4j.driver(
127
117
"bolt://localhost:7687",
128
-
neo4j.auth.basic("neo4j", "password")
118
+
neo4j.auth.basic("username", "password")
129
119
);
130
120
131
121
const neoSchema = new Neo4jGraphQL({ typeDefs, driver });
@@ -191,7 +181,7 @@ const typeDefs = `#graphql
191
181
192
182
const driver = neo4j.driver(
193
183
"bolt://localhost:7687",
194
-
neo4j.auth.basic("neo4j", "password")
184
+
neo4j.auth.basic("username", "password")
195
185
);
196
186
197
187
const neoSchema = new Neo4jGraphQL({ typeDefs, driver });
@@ -302,4 +292,4 @@ This concludes the tutorial.
302
292
By now, you should have a GraphQL API connected to a Neo4j database, to which you added two nodes.
303
293
304
294
To learn more, keep reading the documentation about xref:queries-aggregations/index.adoc[Queries and aggregations] or alternatively learn how to use the xref:getting-started/toolbox.adoc[Neo4j GraphQL Toolbox].
305
-
For more advanced database settings, refer to the xref:driver-configuration.adoc[Driver configuration] page.
295
+
For more advanced database settings, refer to the xref:driver-configuration.adoc[Driver configuration] page.
Copy file name to clipboardExpand all lines: modules/ROOT/pages/integrations/relay-compatibility.adoc
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -12,7 +12,7 @@ However, configuration is required for it to provide a mechanism for refetching
12
12
13
13
== Object identification
14
14
15
-
In order for a Relay client to be able to refetch objects, each type must have a unique object indentifier which can be used for this purpose.
15
+
In order for a Relay client to be able to refetch objects, each type must have a unique object identifier which can be used for this purpose.
16
16
A server then informs a Relay client that this requirement has been satisfied by having types that implement the `Node` directive, which has the following definition:
0 commit comments