File tree Expand file tree Collapse file tree 1 file changed +4
-15
lines changed Expand file tree Collapse file tree 1 file changed +4
-15
lines changed Original file line number Diff line number Diff line change @@ -70,7 +70,7 @@ type User implements UserInterface {
7070}
7171----
7272
73- The following resolvers definition would be invalid :
73+ The following resolvers definition would cause a warning to be logged :
7474
7575[source, javascript, indent=0]
7676----
@@ -83,7 +83,8 @@ const resolvers = {
8383};
8484----
8585
86- Instead, the following resolvers definition would be required:
86+ The following resolvers definition would silence the warning:
87+
8788[source, javascript, indent=0]
8889----
8990const resolvers = {
@@ -95,19 +96,7 @@ const resolvers = {
9596};
9697----
9798
98- These checks may not always be required or desirable. If this is the case, they can be disabled using the `startupValidation` config option:
99-
100- [source, javascript, indent=0]
101- ----
102- const neoSchema = new Neo4jGraphQL({
103- typeDefs,
104- config: {
105- startupValidation: {
106- resolvers: false
107- },
108- },
109- })
110- ----
99+ Mismatches between the resolver map and `@customResolver` directives will always be logged to the console as a warning.
111100
112101[[custom-resolvers-computed]]
113102=== `@computed`
You can’t perform that action at this time.
0 commit comments