ModelListDecoderRegistry
public struct ModelListDecoderRegistry
Registry of ModelListDecoder
‘s used to retrieve decoders that can create ModelListProvider
s to perform
List functionality.
Warning
Although this haspublic
access, it is intended for internal & codegen use and should not be used
directly by host applications. The behavior of this may change without warning. Though it is not used by host
application making any change to these public
types should be backward compatible, otherwise it will be a breaking
change.
-
Declaration
Swift
public static var listDecoders: AtomicValue<[any ModelListDecoder.Type]>
-
Register a decoder during plugin configuration time, to allow runtime retrievals of list providers.
Declaration
Swift
public static func registerDecoder(_ listDecoder: ModelListDecoder.Type)