wildfly-extras / wildfly-graphql-feature-pack

5 stars 6 forks source link

UnsatisfiedDepenency for typesafe GraphQL client in multi-module war #150

Open t1 opened 1 year ago

t1 commented 1 year ago

I have a multi-module war file that contains two jar files: a GraphQL service and a GraphQL client. When injecting the GraphQLClientApi into the client, deployment fails with WELD-001408: Unsatisfied dependencies.

This works just fine when they are separate, flat deployments (as can be seen in the initial commit). Somehow, the CDI Extension from the GraphQL client seems to not get triggered.

Please find a reproducer here: https://github.com/t1/graphql-multi-module-client-demo