You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In force-di directory, add list of binding parameters to the Binding.cls class so that default parameters can be provided at config time.
Adding parameters at runtime via the current getInstance(params) method would merge the runtime parameters with the default parameters.
Binding parameters would have four properties:
Name (string)
Value (object)
Type (string of the type to help with conversion/mapping purposes, like String, Boolean, Decimal)
Overwritable (boolean, indicates if runtime parameters overwrite this param's value)
Both the Binding.cls for Apex API and the Binding__mdt needs to support the related binding parameters. For metadata configuration, propose a new Binding_Param__mdt whose parent is a Binding__mdt.
The text was updated successfully, but these errors were encountered:
In
force-di
directory, add list of binding parameters to theBinding.cls
class so that default parameters can be provided at config time.Adding parameters at runtime via the current
getInstance(params)
method would merge the runtime parameters with the default parameters.Binding parameters would have four properties:
Both the Binding.cls for Apex API and the Binding__mdt needs to support the related binding parameters. For metadata configuration, propose a new Binding_Param__mdt whose parent is a Binding__mdt.
The text was updated successfully, but these errors were encountered: