We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 850d8af commit b413f77Copy full SHA for b413f77
packages/delegate/src/mergeFields.ts
@@ -137,6 +137,9 @@ function handleResolverResult(
137
const objectSubschema = resolverResult[OBJECT_SUBSCHEMA_SYMBOL];
138
const fieldSubschemaMap = resolverResult[FIELD_SUBSCHEMA_MAP_SYMBOL];
139
for (const responseKey in resolverResult) {
140
+ if (responseKey === '__proto__') {
141
+ continue;
142
+ }
143
const existingPropValue = object[responseKey];
144
const sourcePropValue = resolverResult[responseKey];
145
if (sourcePropValue != null || existingPropValue == null) {
0 commit comments