Migration
This page describes how to update Valtimo from the previous to this version.
FormFieldDataResolver supports method
Scope: backend
A new supports method
supports(String externalFormFieldType)
replaces the already existingsupports(ExternalFormFieldType externalFormFieldType)
method for theFormFieldDataResolver
interface.Replace uses of old method with new method
If the old method was used, the new method can be used by converting the existing argument to a string.
Implement new supports method
For classes implementing the
FormFieldDataResolver
interface, the new method should be implemented.
Changed ExternalDataSubmittedEvent data field type
Scope: backend
The
data
field for theExternalDataSubmittedEvent
has changed fromMap<ExternalFormFieldType, Map<String, Object>>
toMap<String, Map<String, Object>>
.Replace use of the old Map to the new type
if an
ExternalDataSubmittedEvent
is created, the Map should now be created with the.toString()
method on theExternalFormFieldType
.
Last updated