Skip to content

Don't filter errors from downstream modules #6

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

Merged
merged 2 commits into from
Nov 26, 2016

Conversation

CodyReichert
Copy link
Contributor

Fixes #4

cc/ @gabriel-laet @torifat


This makes sure flow catches and throws errors when downstream modules are changed and cause type errors, instead of restricting it to only the file that was changed.

See an example of what this fixes in #4


Does anyone think we should make this an option to FlowtypePlugin? I can't really see a case where you wouldn't want to catch these, but perhaps someone does have a use-case.

@torifat
Copy link
Owner

torifat commented Nov 26, 2016

LGTM, lets see if @gabriel-laet has any thoughts. Thanks again 🎉

@torifat torifat merged commit a239f8d into torifat:master Nov 26, 2016
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.

flowtype-loader doesn't catch type errors in downstream modules
2 participants