Skip to content

Add a specialized Optional serializer actually serializing values

Luc Everse requested to merge proper-optional-mapping into development

Description

Introduces a specialized Optional serializer because Jackson was only using public getter-like functions, which happened to be only isPresent and isEmpty, making any results useless.

Changes

None.

Additions

  • An Optional serializer
  • Registration in the Core class

Test and Review

To be filled in by the reviewers

  • All of the methods are commented to expectation

  • The methods are tested to satisfaction

  • There are no unnecessary files present in the MR

  • The continuous integration has no problems with the MR

  • The MR is filled in as requested (including labels, milestones, and reviewers)

  • The documentation is up-to-date

  • All nullable parameters are marked as such

Edited by Tim van der Horst

Merge request reports