Skip to content

Conversation

@mariari
Copy link
Member

@mariari mariari commented Sep 25, 2025

Before the tests did the same checks by hand over and over, we promote
these to examples along with automating the process so we can reduce
repeat code

This will allow us to check properties of the data structures that we
require to be valid to be considered legal
Without this change any assertions in lib/ will cause dialyzer to
fail, this fixes this issue and allows examples to be written
This is mostly from the AnomaSDK.Validate, however not everything is a
data structure, so sometimes functions are used instead
We mainly replace the old by hand calls in the tests with the new
interface and calls.

This will make it easier to export these as examples, as no more test
fixtures will be needed
Before the tests did the same checks by hand over and over, we promote
these to examples along with automating the process so we can reduce
repeat code
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.

2 participants