Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
That's how #31 would be fixed.
Summary of changes:
GraphQLError: Cannot read property 'id' of undefined
errorspath
is passed to the context in order to match user-provided values and what the app will show to the user and in end build bundle.I've left one example of a path without the slash for demo purposes and prettier automatically reformatted some parts.
To test, first try to build current master with path change in a post. When running the build process, there will be an error as described in #31
Then, pull this branch, run
yarn
to get updated packages and try again.