schema-tools icon indicating copy to clipboard operation
schema-tools copied to clipboard

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

Open bahmutov opened this issue 7 years ago • 0 comments

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 avatar Oct 06 '18 17:10 bahmutov