ITADN

Add `@Directive('@shareable')` to all `@FilterableField` when in subgraph mode

#388ClosedDiluka 创建于 2025-06-19
enhancement
D
Dilukacommented
**Is your feature request related to a problem? Please describe.** A clear and concise description of what the problem is. Ex. I'm always frustrated when [...] ### Have you read the [Contributing Guidelines](https://github.com/tripss/nestjs-query/blob/master/CONTRIBUTING.md)? (Write your answer here.) **Describe the solution you'd like** `@FilterableField({filterOnly: true})` works only with all subgraphs' field has `@Directive('@shareable')` see #387 **Describe alternatives you've considered** Maybe a global options to turn on this feature **Additional context** [apollo docs](https://www.apollographql.com/docs/graphos/schema-design/federated-schemas/reference/directives#shareable)
关闭于 2025-06-20 2 条评论