graphql-js
75286fec - refactor: remove `rootValue` argument from `executeOperation`

Commit
3 years ago
refactor: remove `rootValue` argument from `executeOperation` `executeOperation` is never called with a `rootValue` different from `exeContext.rootValue` and `rootValue` is not utilized in the calling code except to pass its value to `executeOperation`. Rather than using an additional argument to `executeOperation`, the `rootValue`, the `rootValue` can be selected from the `exeContext` within `executeOperation`
Author
Committer
Parents
Loading