Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
yaacovCR committed Jul 12, 2021
1 parent 6be53eb commit 3dc3476
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/wrap/src/transforms/TransformInputObjectFields.ts
Expand Up @@ -78,7 +78,7 @@ export default class TransformInputObjectFields implements Transform {
delegationContext: DelegationContext,
_transformationContext: Record<string, any>
): Request {
const variableValues = (originalRequest.variables = {});
const variableValues = originalRequest.variables ?? {};
const fragments = Object.create(null);

const operations: Array<OperationDefinitionNode> = [];
Expand Down

0 comments on commit 3dc3476

Please sign in to comment.