Skip to content
This repository has been archived by the owner on Sep 29, 2023. It is now read-only.

Add a method that returns a Result rather than throws, but otherwise matches assert #183

Open
bahmutov opened this issue Oct 6, 2018 · 0 comments
Assignees

Comments

@bahmutov
Copy link
Contributor

bahmutov commented Oct 6, 2018

Like https://github.com/bahmutov/snap-shot-compare#use we can get a result similar to what assertSchema gets us, but not throw it

This will allow the caller to decide what to do - throw an error, or just record a warning or ignore

@bahmutov bahmutov self-assigned this Oct 6, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant