Test for backwards-compatibility in a circe codec

This page summarizes the projects mentioned and recommended in the original post on /r/scala

Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
  • circe-golden

    Golden testing for Circe

  • I like circe-golden but I found an important limitation: it prevents any evolution of your schema, even evolutions that are backward compatible. So, we ended up re-implementing most of it so that it checks that old JSON blobs can still be decoded by the new codecs (ie, the schema evolved in a backward-compatible way). I’ve started a discussion here but I didn’t get much attention. If several people shared a similar experience maybe we can join our efforts into improving circe-golden?

  • seals

    Tools for schema evolution and language-integrated schemata

  • You might find this useful/relevant: https://github.com/durban/seals/.

  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

    WorkOS logo
NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts