This type class can be instantiated for any type E which can bear its
description as SchemaKey
Unlike AttachSchemaKey this type class makes possible to *only* extract
description from entity. Also it doesn't assume that type E *with*
description is the same E without it, so it can be instantiated for not
only JSON-like structures, but for case classes as well.
But in most cases these type classes can be instantiated for same types.
It particularly useful for validation/data extraction apps which need to
*extract* instance/schema description.
E
entity type, mostly intended for various JSON ADTs,
like Json4s, Jackson, circe, Argonaut etc,
but also can be anything that can bear reference to
its description like Thrift, Map[String, String] etc
This type class can be instantiated for any type
E
which can bear its description as SchemaKeyUnlike AttachSchemaKey this type class makes possible to *only* extract description from entity. Also it doesn't assume that type
E
*with* description is the sameE
without it, so it can be instantiated for not only JSON-like structures, but for case classes as well. But in most cases these type classes can be instantiated for same types.It particularly useful for validation/data extraction apps which need to *extract* instance/schema description.
entity type, mostly intended for various JSON ADTs, like Json4s, Jackson, circe, Argonaut etc, but also can be anything that can bear reference to its description like Thrift, Map[String, String] etc