addFormattingSpecsToRegistry Method @beta
Populates the registry with a new FormatterSpec and ParserSpec entry for the given format name.
addFormattingSpecsToRegistry(name: string, persistenceUnitName: string, formatProps?: FormatProps): Promise<void>
| Parameter | Type | Description | 
|---|---|---|
| name | string | The key used to identify the formatter and parser spec | 
| persistenceUnitName | string | The name of the persistence unit | 
| formatProps | FormatProps | If not supplied, tries to retrieve the FormatProps from formatsProvider | 
Returns -  Promise
Defined in
Last Updated: 24 October, 2025
Found something wrong, missing, or unclear on this page? Raise an issue in our repo.