Closed
Description
Describe the bug
It might not be the exact reason but it seems like if we don't have a get
in the yaml file, the type declaration doesn't get emitted to .mesh
To Reproduce
Steps to reproduce the behavior:
- Checkout the following branch (type-declaration-emitting-bug) and run
yarn install
. - cd to the
packages/graphql-server
folder and runyarn build && yarn mesh build
. See the output in.mesh
contains theindex.d.ts
type declaration as it should.
- Now comment line 40 to 49 in
src/test.yaml
, save the file and runyarn mesh build
again. See the output in.mesh
does NOT contains theindex.d.ts
type declaration as it should.
Expected behavior
.mesh/index.d.ts
file should be emitted
Environment:
-
OS:
Mac OS 11.4 BigSur -
@graphql-mesh/...
:
@graphql-mesh/[email protected]
@graphql-mesh/[email protected] -
NodeJS:
v14.15.4
Metadata
Metadata
Assignees
Labels
No labels