Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

resolversComposition bug #3224

Open
gilgardosh opened this issue Nov 23, 2021 · 0 comments
Open

resolversComposition bug #3224

gilgardosh opened this issue Nov 23, 2021 · 0 comments
Labels
stage/1-reproduction A reproduction exists

Comments

@gilgardosh
Copy link
Collaborator

gilgardosh commented Nov 23, 2021

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)

@ardatan ardatan added the stage/1-reproduction A reproduction exists label Jan 4, 2022
@theguild-bot theguild-bot mentioned this issue Aug 11, 2022
@theguild-bot theguild-bot mentioned this issue Sep 28, 2023
This was referenced Apr 30, 2024
This was referenced May 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
stage/1-reproduction A reproduction exists
Projects
None yet
Development

No branches or pull requests

2 participants