Skip to content

Refactor POJO response objects without OPTIONAL getter return values. #430

@frankgiordano

Description

@frankgiordano

For getters in POJOs, it’s more suitable to return the current value, not an Optional.

Using Jackson library's @JsonCreator, see #428, the constructor will define defaults. This results in no empty values. As such, this negates the need for Optional usage.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions