graphql-tools icon indicating copy to clipboard operation
graphql-tools copied to clipboard

handle error from custom loader

Open n1ru4l opened this issue 3 years ago • 0 comments
trafficstars

Currently, an error for a custom loader is swallowed, leading to a bad DX:

https://github.com/ardatan/graphql-tools/blob/53292e675ec6ec11f5c7b9d244898340cf7e109e/packages/load/src/utils/custom-loader.ts#L18


originally raised in https://github.com/dotansimha/graphql-code-generator/discussions/7928#discussioncomment-3285607

n1ru4l avatar Aug 02 '22 08:08 n1ru4l