Skip to content
Beskid Platform specification

Beskid

Jump to a Beskid service

Beskid

Jump to a Beskid service

Multiple implementations via inject T[]

Platform spec ADR

Multiple implementations via inject T[]

Spec standingStandard

Owner
Piotr Mikstacki
Submitter
Piotr Mikstacki

Apps register multiple implementations of one contract (for example two Storage).

Multiple implementations must use inject Contract[] (or concrete T[]). Singular inject Contract must be unique at the resolution level (E1705 when ambiguous).

Deterministic registration merge order defines array element order.

Design model; FAQ.