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>(
5656 if ( opts ?. schemaComposer ) {
5757 if ( ! opts . schemaComposer ) {
5858 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.
6060 Received:
6161 ${ inspect ( opts . schemaComposer ) }
6262 ` ) ;
@@ -121,7 +121,7 @@ export function createFields(
121121
122122 parent . addNestedFields ( {
123123 [ name ] : {
124- resolve : ( ) => ( { } ) ,
124+ resolve : ( source ) => source ,
125125 ...fc ,
126126 } ,
127127 } ) ;
@@ -178,7 +178,7 @@ function prepareNamespaceFieldConfig(
178178 You provide incorrect output type definition:
179179 ${ fc . type }
180180 It must be valid TypeName or output type SDL definition:
181-
181+
182182 Eg.
183183 type Payload { me: String }
184184 OR
You can’t perform that action at this time.
0 commit comments