diff --git a/src/execution/execute.js b/src/execution/execute.js index feb900561e..f419ebc156 100644 --- a/src/execution/execute.js +++ b/src/execution/execute.js @@ -869,7 +869,7 @@ function defaultResolveFn(source, args, { fieldName }) { // ensure source is a value for which property access is acceptable. if (typeof source !== 'number' && typeof source !== 'string' && source) { const property = (source: any)[fieldName]; - return typeof property === 'function' ? property(source) : property; + return typeof property === 'function' ? property.call(source) : property; } }