overblog / GraphQLBundle

This bundle provides tools to build a complete GraphQL API server in your Symfony App.
MIT License
780 stars 223 forks source link

Automatic type resolver for annotations/attributes #1169

Closed Vincz closed 4 months ago

Vincz commented 4 months ago
Q A
Feature request? yes

With annotations/attributes, we have the ClassesTypeMap.
We could store in it, the list of interfaces, the associated type with their associated class.
It would allow to resolve types automatically as we would only have to loop through the list of type implementing the given interface.