You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There is a problem lied with the meta compiler. More specifically when generating encoders/decoders for product types that depend on other encoders/decoders such as List<String> or Option< List<String>>.
@json data class Friend(val _id: String, val tags: List<String>)
@json data class SpecialFriend(val _id: String, val errorOrTags: Option< List<String>>)
We need to investigate how to safely generate encoders for these product types.
The text was updated successfully, but these errors were encountered:
The same technique as Arrow-generic will have to be applied.
If a Kind<F, A> is detected than something like F.encoder(A.encoder()) should be generated. Taking arity into account.
AFAIK we can currently not verify if F.encoder exists so we cannot provide a better error message and will fallback to the technique we use in arrow-generic.
Related to #13
There is a problem lied with the meta compiler. More specifically when generating encoders/decoders for product types that depend on other encoders/decoders such as
List<String>
orOption< List<String>>
.We need to investigate how to safely generate encoders for these product types.
The text was updated successfully, but these errors were encountered: