ToKeyedSchemas

Companion:
class
class Object
trait Matchable
class Any

Value members

Concrete methods

def unique(objs: Iterable[KeyedSchema]): Iterable[KeyedSchema]

Keeps only the first object data for each SchemaKey. In case of recursive objects, the first one is the most complete as it contains the built-up structure, unlike subsequent ones, which only represent leaves (#354, later extended for #2358, so that the schemas have a secondary key - the product fields (if any)).

Keeps only the first object data for each SchemaKey. In case of recursive objects, the first one is the most complete as it contains the built-up structure, unlike subsequent ones, which only represent leaves (#354, later extended for #2358, so that the schemas have a secondary key - the product fields (if any)).