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
It is not possible to do this with zio-json-interop-refined:JsonDecoder[ast.Json.Obj Refined Empty]. This is because the Empty validation requires the target to implement Iterable, and ast.Json.Obj does not. There may be other cases for the types under ast.Json.* where a natural validation doesn't work.
For the specific case above, I had to add this to my code to get it to work:
It is not possible to do this with zio-json-interop-refined:
JsonDecoder[ast.Json.Obj Refined Empty]
. This is because theEmpty
validation requires the target to implementIterable
, andast.Json.Obj
does not. There may be other cases for the types under ast.Json.* where a natural validation doesn't work.For the specific case above, I had to add this to my code to get it to work:
The text was updated successfully, but these errors were encountered: