graphql-mesh
graphql-mesh copied to clipboard
resolversComposition bug
Describe the bug
resolver path now must not begin with ./
To Reproduce Steps to reproduce the behavior:
create a basic project, with config as so:
...
transforms:
- resolversComposition:
mode: bare
compositions:
- resolver: Query.*
composer: ./src/resolvers/queryResolver
runtime error will be thrown:
Failed to generate schema: Cannot find module './src/resolvers/queryResolver'.
Expected behavior
for this to be valid
(note that src/resolvers/queryResolver
, without ./
prefix, does work)