Yubico / java-webauthn-server

Server-side Web Authentication library for Java https://www.w3.org/TR/webauthn/#rp-operations
Other
439 stars 137 forks source link

Fix incompatibility with Jackson 2.17.0-rc1 #352

Closed emlun closed 4 months ago

emlun commented 4 months ago

@JsonSerialize(contentConverter = ...) is incompatible with property type Optional<List<T>>, which is the detected serialization type because of the auto-detected getter, because contentConverter only descends one container level.

See: https://github.com/FasterXML/jackson-databind/issues/4413#issuecomment-1977989776

Fixes #350.

github-actions[bot] commented 4 months ago

Test Results

1 241 tests  ±0   1 237 :white_check_mark: ±0   46s :stopwatch: -15s    42 suites ±0       4 :zzz: ±0     43 files   ±0       0 :x: ±0      1 errors

For more details on these parsing errors, see this check.

Results for commit c5a18afc. ± Comparison against base commit eb37b615.