Skip to content

Conversation

@mbaechler
Copy link
Contributor

This PR introduces a way for single value value-object to avoid creating a new data-structure while retaining the exact same safety guarantees and similar usages.

It leverages opaque type and extension method to maintain the same API.
It allows to skip the codecs map/contramap
Also, I reduced the scope of others contextual json codecs as we probably don't want this JsonCodec[DateTime] to be imported somewhere else in the project.

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.

1 participant