Replies: 1 comment 1 reply
-
Appears to do the trick... |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have a case, where I want to decode a sub schema -
List[CfnDigraphNode]
CfnDigraphNode
is a union type.I know the machinery exists, because I can decode a class which contains this structure. If I try to access it directly so:
val nodeJson = smithy4s.json.Json.writePrettyString[List[CfnDigraphNode]](nodes)
yields
No given instance of type smithy4s.schema.Schema[List[ils.smithy.ilsop.CfnDigraphNode]] was found for an implicit parameter of method writePrettyString in object Json
Beta Was this translation helpful? Give feedback.
All reactions