@snowtop/ent 0.2.0-alpha.4 → 0.2.0-alpha.5
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/graphql/graphql.js +3 -0
- package/package.json +1 -1
package/graphql/graphql.js
CHANGED
|
@@ -517,6 +517,9 @@ class GQLCapture {
|
|
|
517
517
|
field.results.forEach((result) => {
|
|
518
518
|
if (result.needsResolving) {
|
|
519
519
|
if (baseObjects.has(result.type) ||
|
|
520
|
+
// allow custom input objects to be returned
|
|
521
|
+
// depend on GraphQL type complaining if we try and reference an input from a non-input object
|
|
522
|
+
this.customInputObjects.has(result.type) ||
|
|
520
523
|
this.customUnions.has(result.type) ||
|
|
521
524
|
this.customInterfaces.has(result.type) ||
|
|
522
525
|
this.customTypes.has(result.type)) {
|