Update dependency graphql-tools to v2.23.1 - autoclosed #200
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This Pull Request updates dependency graphql-tools from
v2.22.0
tov2.23.1
Release Notes
v2.23.0
SchemaDirectiveVisitor
abstraction for implementing reusable schema@directive
s has landed. Read our blog post about this new functionality, and/or check out the documentation for even more examples and explanation. PR #640Commits
v2.23.0
75dd1ba
[apollo-bot] Update the Templates with docs label1c6c770
Merge pull request #677 from apollographql/apollo-bot/templates6344500
Simplify directiveResolvers wrapping with an async function.a805fdd
Initial implementation of @directive visitor logic.38818fa
Add a test that @Directives are preserved in the schema AST.25a5ab0
Stick to object union types to fix tests with GraphQL v0.11 (old).5b41872
Add a basic test of GraphQLSchemaDirective.visitSchema.eb7dc73
Prevent re-visiting object types by not visiting union members.892eb73
Expose this.schema to GraphQLSchemaDirective visitor methods.0449de5
Make the static description string optional.18b3af0
Add an additional details parameter to some visitor methods.73c30b8
Use -Type suffix for GraphQLType details property names.866a7a5
Declare declaredDirectives values as GraphQLDirective, not any.af91add
Rename GraphQLSchemaDirective to SchemaDirectiveVisitor.a7aa136
Stop inheriting from GraphQLDirective.3d235b3
Add a top-level SchemaDirectiveVisitor comment.b3bb685
Reorder constructor and improve comment about protected modifier.f8a8dcc
Remove overzealous test requiring directives to be declared in schema.99ad072
Reimplement attachDirectiveResolvers using SchemaDirectiveVisitor.visitSchema.0128a10
Fix an argument typo in @rest example.72d1cd5
Add a test of undeclared @directive argument values.00786cb
Test that SchemaDirectiveVisitor can be used as a no-op visitor.2b9401c
Test that SchemaDirectiveVisitor.getLocations works.37ebc31
Test that visitors can visit the schema object itself.be78d68
Make makeExecutableSchema accept a directiveVisitors option.6c24668
Add a test of declared directive parameters with default values.7c2dc88
Final pass over SchemaDirectiveVisitor implementation comments.f951c81
Expose this.visitedType on SchemaDirectiveVisitor instances.547f5d6
Return useful information from SchemaDirectiveVisitor.visitSchema.f57036e
Skip visitors if visitorClass.shouldCall(method) returns false.5f385f6
Radically refactor SchemaVisitor, visitSchema, and SchemaDirectiveVisitor.3d32448
Rename VisitableType to VisitableSchemaType.9f22c87
Re-export schemaVisitor.ts exports from graphql-tools package.9838718
Move public schema member declaration to SchemaVisitor base class.0a9aa8b
Provide a shared context object to all visitor instances.2a44bb3
Improve coverage by testing implementsVisitorMethod more carefully.5870196
Add a test of a simple visitor that always selects itself.a51f68b
Improve the no-op visitor test by actually verifying what happened.3ef5c35
Fix visitSchema visitorSelector comment to refer to VisitableSchemaType.bfb837e
Add missing public access modifier to visitVieldDefinition in comment.b5e347f
Introductory documentation for schema @Directives.0d659c9
Fixing some typos.d57c68d
Add section about implementing schema directives to docs.3ff3e25
Fix typo.67c625d
Add comment about omitted resolver argument.99fd3b7
Allow SchemaDirectiveVisitors to provide GraphQLDirective declarations.7a9139e
Throw if visitor does not implement methods for all declared locations.2a75280
Add documentation about directive declarations.43790f6
Add a number of examples to the SchemaDirectiveVisitor documentation.4c19400
Add tests for all directive examples, and convert examples to JS.f8b4440
Tolerate GraphQL.js versions that do not return data from mutations.094b0e9
Flatten example classes a bit for readability.043ee0d
Conform LimitedLengthType name to older graphql-js requirements.fc3670b
Pass GraphQLSchema instead of GraphQLDirective to getDirectiveDeclaration.cbfc21a
Remove directiveResolvers from directive docs, with note.69e1ede
Properly handle errors from faulty LimitedLengthType.6776473
Rename directiveVisitors option to just directives.d3bdc29
Rename directiveResolvers and some subclasses in docs.83e23dc
Improve the @Length example tests.8b4a2d0
Simplify intro documentation, plus many other improvements.552ad53
More uniform ```js Markdown language identifiers.9c9e7cf
Reorder LengthDirective and LimitedLengthType classes.193510f
Further simplify introduction, and add brief usage section.fe33c44
Link to DirectiveLocation enum implementation.02d4f5a
Avoid editorial words like 'very'.a01ce05
More tweaks to address review feedback from @stubailo.236ed46
Use .html in links rather than .md.5260e18
Tweak to title of schema directives documentation.34ca07a
Automatically update references to schema types that have changed.0439bf5
Allow each to be used for arrays as well as objects.fb91771
Add a more powerful iteration utility called updateEachKey.c90eb0d
Add missing GraphQLInputObjectType to VisitableSchemaType union.a10d924
Allow visitor methods to return replacement objects, null, or undefined.cdf2ccc
Annotate visitor method stubs with return type options.a07ca3f
Prevent visitSchema from replacing the original GraphQLSchema object.01f10a7
Reconcile GraphQLObjectType .name properties with schema.getTypeMap().0dd82be
Add Query type to enum value removal test to make [email protected] happy.31b8fb2
Fix bug in healSchema that sometimes removed '__'-prefixed types.63cec8e
Call healSchema in visitSchemaDirectives rather than in visitSchema.9b29251
Improve @auth example and corresponding tests.2c8c50d
Improve @uniqueid example.86666cd
Rename makeExecutableSchema({ directives }) option to schemaDirectives.48b4c12
Merge pull request #640 from apollographql/wip-schema-directives41ddc71
Bump NPM version to 2.23.0 in preparation for publishing.v2.23.1
37dd034
More newlines in @uniqueid example documentation.402b59c
Resolvers are optional arguments (#679)d5577e4
Add a test for formatting dates with field arguments.ad76736
Add documentation of @Date that adds a field argument.ccf13cc
Small tweaks to the date formatting example.42c7296
Add section about query directives to schema directive docs.c91e577
Remove unnecessary print and subsequent parse (#678)247067c
CHANGELOG for v2.23.0.55ff203
Do not enforce query @directive locations.ca06efa
Bump NPM version to 2.23.1 in preparation for publishing.Thank you for subscribing to Renovate. Your plan: Personal Plan - Opening Special