File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -56,7 +56,7 @@ export function astToSchema<TContext = any>(
56
56
if ( opts ?. schemaComposer ) {
57
57
if ( ! opts . schemaComposer ) {
58
58
throw new Error ( dedent `
59
- Provided option 'schemaComposer' should be an instance of SchemaComposer class from 'graphql-compose' package.
59
+ Provided option 'schemaComposer' should be an instance of SchemaComposer class from 'graphql-compose' package.
60
60
Received:
61
61
${ inspect ( opts . schemaComposer ) }
62
62
` ) ;
@@ -121,7 +121,7 @@ export function createFields(
121
121
122
122
parent . addNestedFields ( {
123
123
[ name ] : {
124
- resolve : ( ) => ( { } ) ,
124
+ resolve : ( source ) => source ,
125
125
...fc ,
126
126
} ,
127
127
} ) ;
@@ -178,7 +178,7 @@ function prepareNamespaceFieldConfig(
178
178
You provide incorrect output type definition:
179
179
${ fc . type }
180
180
It must be valid TypeName or output type SDL definition:
181
-
181
+
182
182
Eg.
183
183
type Payload { me: String }
184
184
OR
You can’t perform that action at this time.
0 commit comments