Function
formatAddonWarning
@ng-forge/dynamic-forms
Render an AddonWarning to a developer-friendly message.
Returns the bare message — the [Dynamic Forms] prefix is added by the
library's logger (ConsoleLogger) and by DynamicFormError. Pass the
result of this function directly into logger.warn(...) to get the
standard prefixed line; use for direct
logAddonWarnings()console.warn output (which prefixes manually).
Messages are designed to be actionable: they enumerate the relevant set (registered kinds, allowed slots) and suggest a likely fix.
Signature
function formatAddonWarning(w: AddonWarning): stringParameters
| Name | Type | Description |
|---|---|---|
w | AddonWarning | - |
Returns
string
packages/dynamic-forms/src/lib/utils/validate-form-config/addon-warning.ts:58