Change NodeByID to a method to make dependency injection easier
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.