choco

Results 3 comments of choco

Hey, minimal reproduction is not installed **graphql-query-complexity**. So complexity is not working, but expected behavior. I created minimal example repository. It doesn't use federation, but will be work too. https://github.com/choco14t/nest-graphql-complexity

@kamilmysliwiec I tested complexity with federated graph. Complexity extension works fine. testing repo: https://github.com/choco14t/example-gateway-logging/tree/check-complexity Set default complexity 1 per field, user.posts complexity 5. Return complexity 11 when executed query below....

@equal-matt I tried to fix `example.resolver.ts`, field middleware works correctly. I don't know details, it seems that returnType in `@ResolveField` needs to define type. ```typescript import { Query, ResolveField, Resolver...