overblog / GraphQLBundle

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

Automatic type resolver for annotations/attributes #1169

Closed Vincz closed 8 months ago

Vincz commented 8 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.