You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Mercurius doesn't offer any tool for easy handling of custom directives. The easiest way to do it is documented here: #982.
This pr uses graphql-tools to simplify the schema change process.
This issue is to explore 2 possible ways:
create a plugin that helps to hide all the schema work.
explore the possibility of integrating some custom directives APIs directly inside Mercurius
For point 1. the plugin API could be like what is done in the Mercurius auth plugin
Integrating the custom directives feature into Mercurius che allows us to reduce the number of schema traversals. We can also take the opportunity from this work to extract some schema mapping and traversal to an external lib that can act as a partial replacement of graphql-tools#990
Mercurius doesn't offer any tool for easy handling of custom directives. The easiest way to do it is documented here: #982.
This pr uses
graphql-tools
to simplify the schema change process.This issue is to explore 2 possible ways:
For point 1. the plugin API could be like what is done in the Mercurius auth plugin
Integrating the custom directives feature into Mercurius che allows us to reduce the number of schema traversals. We can also take the opportunity from this work to extract some schema mapping and traversal to an external lib that can act as a partial replacement of
graphql-tools
#990@simoneb
The text was updated successfully, but these errors were encountered: