Skip to content

resolversComposition bug #3224

Open
Open
@gilgardosh

Description

@gilgardosh

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)

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions