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
Describe the Bug
We are creating two schemas, 2 initializing 2 apollo servers (apollo-server-express), then trying to mount them on two different paths: /graphql and /cci
As the result, second built server don't have args that are defined via @ArgsType()
First server: args are here
Second server: no args available
The text was updated successfully, but these errors were encountered:
Alex0007
changed the title
Two mounted apollo servers – second one lacks query ArgsType
Two mounted apollo servers – second one lacks ArgsType in query
Aug 3, 2022
It not happens when the resolver is build without inheritance (generic function).
So the build function is mutating the metadata making it losses info about args.
Need to debug and dig further.
Alex0007
changed the title
Two mounted apollo servers – second one lacks ArgsType in query
Two mounted apollo servers (resolvers with inhertance) – second one lacks ArgsType in query
Aug 8, 2022
Describe the Bug
We are creating two schemas, 2 initializing 2 apollo servers (
apollo-server-express
), then trying to mount them on two different paths:/graphql
and/cci
To Reproduce
This example includes parts of code
As the result, second built server don't have args that are defined via
@ArgsType()
First server: args are here
Second server: no args available
The text was updated successfully, but these errors were encountered: