Skip to content

MatcherConfig๐Ÿ”—

Matcher is a predicate configuration. Based on the config a set of field(s) or values is filtered in order to apply override / transformation.

It comes with in id ( to resolve implementation from registry) and a configuration thatโ€™s specific to a particular matcher type.

Definition๐Ÿ”—

export interface MatcherConfig {
    // The matcher id. This is used to find the matcher implementation from registry.
    id: string;
    // The matcher options. This is specific to the matcher implementation.
    options?: any;
}