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
We have an issue with what appear to be the generated cache:
We have 2 resolvers services that uses the same class with different constructor arguments and we have two different alias for the same method.
The issue is whatever alias we use, the only code executed is the one of first declared service.
Here is the service definition followed by the generated cache.
When we try to call resolver_bar it's the service my_namespace.graphql.resolver.foo::resolveFunction that is called instead of the wanted my_namespace.graphql.resolver.bar::resolveFunction.
The text was updated successfully, but these errors were encountered:
Fixed, now directly use the service id as prefix: my_namespace.graphql.resolver.foo::resolveFunction or my_namespace.graphql.resolver.bar::resolveFunction.
We have an issue with what appear to be the generated cache:
We have 2 resolvers services that uses the same class with different constructor arguments and we have two different alias for the same method.
The issue is whatever alias we use, the only code executed is the one of first declared service.
Here is the service definition followed by the generated cache.
Generated cache:
Example:
When we try to call
resolver_bar
it's the servicemy_namespace.graphql.resolver.foo::resolveFunction
that is called instead of the wantedmy_namespace.graphql.resolver.bar::resolveFunction
.The text was updated successfully, but these errors were encountered: