Open alexanderwanyoike opened 7 months ago
We're experiencing the same issue, also when using the initializeStore functionality.
Is there a useful workaround for this right now?
I've been creating resolvers that provide mock data and providing them with the additionalResolvers
option. The limitation there is that I cannot set preserveResolvers: false
in the mock settings, which I'd like to be able to do.
is there any update on this issue? we got the same experience
I also have this issue: import in yaml does not work for the store and the mock custom.
To be more specific, I encounter this bug when using "mesh start" but not when using "mesh dev"
Issue workflow progress
Progress of the issue based on the Contributor Workflow
Describe the bug
Currently trying to follow the example specified in the documentation to mock a GraphQL query. However, I ran into the following error when I try access the mesh after building it and starting the application. Things to note:
It seems that mesh cannot find the module defined in the root directory
./mocks/userMocks.ts
To Reproduce Steps to reproduce the behavior:
./.meshrc
./mocks/userMocks.ts
mesh build
mesh start
localhost:4000/graphql
Expected behavior
Environment:
Additional context