Skip to content

Golden testing for jsoniter-scala encoders and decoders. #1310

@mihaisoloi

Description

@mihaisoloi

To quote circe-golden

One common criticism of deriving type class instances in the context of serialization is that it makes it too easy to accidentally break compatibility with other systems, since the magic of derivation can obscure the fact that changes to our data type definitions may also change their encoding.

In my experience, generating golden test files has caught a lot of breaking changes of the serialization. This would be very useful for jsoniter-scala as well.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions