Skip to content

Conversation

@leosuncin
Copy link

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 jestjs/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 #10

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 jestjs/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-labs#10
@leosuncin leosuncin force-pushed the fix/relative-path-inside-sdl branch from 2ac1f60 to a4662d0 Compare January 28, 2019 17:28
Show directory tree and use relative paths in the example.
@ratneshraval ratneshraval mentioned this pull request Oct 17, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant