When we add resolvers, we reference a datasource. Today, we have to add them to GraphQLApi or GraphQLModule. We can add a reference directly to GraphQLDataSource, since we need to reference them anyway. This way we don't have to reference them twice.
When we add resolvers, we reference a
datasource
. Today, we have to add them toGraphQLApi
orGraphQLModule
. We can add a reference directly toGraphQLDataSource
, since we need to reference them anyway. This way we don't have to reference them twice.