diff --git a/src/augment/resolvers.js b/src/augment/resolvers.js index 70772f63..2d805484 100644 --- a/src/augment/resolvers.js +++ b/src/augment/resolvers.js @@ -110,7 +110,7 @@ export const augmentResolvers = ({ resolvers[e] = {}; resolvers[e]['__resolveType'] = (obj, context, info) => { - return obj['FRAGMENT_TYPE']; + return obj['__typeName'] ? obj['__typeName'] : obj['FRAGMENT_TYPE']; }; });