Skip to content

Change NodeByID to a method to make dependency injection easier

Warren Gifford requested to merge graphql/node-by-id into master

Created by: mrnugget

We talked about this little refactoring yesterday.

While NodeByID was exported, it wasn't used outside the graphqlbackend package. And now that we've added dependencies to schemaResolver it's cumbersome to pass them to NodeByID which then passes them on again.

Merge request reports

Loading