graphql-import-loader icon indicating copy to clipboard operation
graphql-import-loader copied to clipboard

feat(loader): Use relative path inside SDL

Open leosuncin opened this issue 6 years ago • 0 comments

Use the file path instead of file content to import schema. Set Jest's environment to node to avoid the error with jsdom's localStorage, see facebook/jest#6766 and jsdom/jsdom#2304.

BREAKING CHANGE: Use absolute path inside DSL won't work anymore, but now will be the same behavior of graphql-import dealing with paths.

Fix prisma/graphql-import-loader#10

leosuncin avatar Jan 28 '19 17:01 leosuncin