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
{{ message }}
This repository was archived by the owner on Feb 10, 2019. It is now read-only.
My problem is that I can't add schema in multiple places in my code. I use module app architecture (using this package ) where every module has its own service provider. When I use GraphQL::addShema('default', $schema) in my modules service providers the schema is replaced by the last invocation in module service provider which was invoked last.
What I want is GraphQL to have a method which merges schema instead of replace it.
Here is my workaround for those who faced this problem as well
I created my own GraphQL service provider and registered my own GraphQL singleton which has desired mergeSchemas method