Configuration setting for wrapper Byte[]/Character[] treatment

Description

As discussed on our call today, introduce a setting that allows configuring the following three behaviors for Byte[]/Character[] handling:

  • INVALID(default) - Throw an informative and actionable error if the types are used explicitly in the domain model

  • ALLOW - Do not throw an error, but keep the array semantics proper i.e. allow null elements

  • LEGACY - Legacy behavior i.e. use ByteArrayJavaType and CharacterArrayJavaType which disallow null elements

Document the setting in the migration guide.

Activity

Show:
Fixed

Details

Assignee

Reporter

Fix versions

Priority

Created March 28, 2023 at 5:39 PM
Updated March 31, 2023 at 1:51 AM
Resolved March 30, 2023 at 4:08 PM