Skip to content

7.0.0-beta.1

Pre-release
Pre-release
Compare
Choose a tag to compare
@SteveDunn SteveDunn released this 08 Jan 22:24
· 26 commits to main since this release
82d8003

Minor breaking change in this one related to #735 . When deserializing illegal values that failed any user supplied Validate method, Vogen used to throw the validation exception (ValueObjectValidationException by default, or whatever the user configured).

During deserialization, this leads to confusion as it's not clear why deserialization failed, or where. Instead, we now throw a json exception containing the location. The inner exception still contains the exception thrown from Validate.

What's Changed

  • Use invariant culture in unit test string comparison by @Peter-B- in #734
  • Improve error message for validation errors in System.Test.Json deserialization by @Peter-B- in #735

New Contributors

Full Changelog: 6.0.0...7.0.0-beta.1