ModelListDecoderRegistry
public enum ModelListDecoderRegistry
Registry of ModelListDecoder‘s used to retrieve decoders that can create ModelListProviders 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 nonisolated(unsafe) 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)
View on GitHub