Skip to content

Refine representation format defaulting for UUID, BigDecimal, and BigInteger #5037

@mp911de

Description

@mp911de

With the changes #4920/#4957 and #3932/#5034, we switched default representations for UUID, BigDecimal, and BigInteger values. Switching a default is a subtle change that isn't immediately visible (in contrast to a clearly behavioral or breaking API change) but can remain invisible until a late deployment or operational stage.

A way out would be removing defaulting and requiring a choice expressed by application configuration. It would help to fail early if e.g. the domain model uses UUID's or BigDecimals in implicit field target mode and an associated configuration property isn't set to indicate we require a user choice.

Another alternative could be leaving defaults as-is but issuing warn logging if the default value is implicitly (i.e. not explicitly configured) used.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions