@graphprotocol/graph-cli 0.53.0-alpha-20230721161547-13ba32e → 0.53.0-alpha-20230721162230-034f0ba
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +1 -1
- package/dist/codegen/schema.js +1 -1
- package/oclif.manifest.json +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
package/dist/codegen/schema.js
CHANGED
|
@@ -245,7 +245,7 @@ class SchemaCodeGenerator {
|
|
|
245
245
|
const gqlType = fieldDef.type;
|
|
246
246
|
const returnType = this._returnTypeForDervied(gqlType);
|
|
247
247
|
const obj = this.schema.ast.definitions.find(def => {
|
|
248
|
-
if (def.kind
|
|
248
|
+
if (def.kind === 'ObjectTypeDefinition') {
|
|
249
249
|
const defobj = def;
|
|
250
250
|
return defobj.name.value == this._baseType(gqlType);
|
|
251
251
|
}
|
package/oclif.manifest.json
CHANGED
package/package.json
CHANGED