CollectionMapping.fromRegistry constructor

const CollectionMapping.fromRegistry()

Creates registry-based collection mapping.

Uses the mapper registry to look up a collection mapper for the property type, similar to how other mapping properties (iri, literal, globalResource, localResource) behave by default. Only use this when you have registered a specific collection mapper for your collection type.

Implementation

const CollectionMapping.fromRegistry()
    : isAuto = false,
      factory = null;