New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pass parse result through on errors #57

Merged
merged 2 commits into from Dec 1, 2015

Conversation

Projects
None yet
2 participants
@danielgtaylor
Contributor

danielgtaylor commented Dec 1, 2015

This change makes it possible to return an error from the parser but still also return a parse result, which may contain more or other useful information such as partially parsed results and annotations.

Also updated is an example using source maps that was no longer correct.

cc @smizell

smizell added a commit that referenced this pull request Dec 1, 2015

Merge pull request #57 from apiaryio/daniel/updates
Pass parse result through on errors

@smizell smizell merged commit d198863 into master Dec 1, 2015

1 check passed

ci/circleci Your tests passed on CircleCI!
Details
@smizell

This comment has been minimized.

Contributor

smizell commented Dec 1, 2015

👍

@danielgtaylor danielgtaylor deleted the daniel/updates branch Dec 1, 2015

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment