commercetools / sphere-scala-libs

Apache License 2.0
21 stars 7 forks source link

[ENE-49] Fix infinite loop in derivation #588

Closed programaker closed 6 months ago

programaker commented 6 months ago

When writing a code like: implicit val x: TypedMongoFormat[Something] = io.sphere.mongo.generic.deriveMongoFormat

or given TypedMongoFormat[Something] = io.sphere.mongo.generic.deriveMongoFormat

A compile error happens due to an infinite loop in the derivation process.

This PR aims to fix that, and also add some new features:

programaker commented 6 months ago

CI won't work anyway, so I'm closing the PR