Skip to content

Commit

Permalink
fix(pruningOptions): no need to default with empty options, undefined…
Browse files Browse the repository at this point in the history
… options will skip pruning (#1638)
  • Loading branch information
yaacovCR committed Jun 11, 2020
1 parent a2362d8 commit e2f953f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/schema/src/makeExecutableSchema.ts
Expand Up @@ -22,7 +22,7 @@ export function makeExecutableSchema<TContext = any>({
schemaTransforms = [],
parseOptions = {},
inheritResolversFromInterfaces = false,
pruningOptions = {},
pruningOptions,
}: IExecutableSchemaDefinition<TContext>) {
// Validate and clean up arguments
if (typeof resolverValidationOptions !== 'object') {
Expand Down

0 comments on commit e2f953f

Please sign in to comment.