This repository has been archived by the owner on Jan 27, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2
Implement "strict" mode. #192
Comments
A workaround may be achieved with |
blackwinter
added a commit
that referenced
this issue
Mar 30, 2022
Levels of strictness: - `PROCESS`: Abort process by throwing an exception. - `RECORD`: Ignore (skip) record and log an error. - `EXPRESSION`: Ignore (skip) expression and log a warning. Introduces `FixProcessException` to differentiate from `FixExecutionException`: The latter indicating potentially data-dependent issues that should be subject to strictness handling, while the former should only refer to static issues with the usage of Fix expressions.
blackwinter
added a commit
that referenced
this issue
Mar 30, 2022
Repository owner
moved this from Review
to Done
in Metafacture
Mar 31, 2022
blackwinter
added a commit
that referenced
this issue
Apr 1, 2022
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Catmandu usually (silently) ignores unexpected values/data types, while Metafix currently throws exceptions (
java.lang.IllegalStateException
). It might make sense to support both modes:Probably requires some kind of configuration mechanism (see metafacture/metafacture-core#597).
The text was updated successfully, but these errors were encountered: