Elektrine lite

← Feed

@john@social.ahlroos.me

Post #3454289

2026-06-24 06:17 UTC

@stuartmarks@mastodon.social @mehmandarov@mastodon.social Thanks for the link, I hadn't seen it! It describes exactly the same issue. I want to add though that this isn't strictly about REST, this also affects message brokers. The point of recognizing added fields and typos is valid, but that strictness could be handled with warn logs, rather than complete failure by default. In the rare case you want stop deserializing when it happens then that should be a config option. Good to see other providers have realized this.

Replies (1)

  • @LogAteWhale@fosstodon.org 2026-06-24 07:29

    @john@social.ahlroos.me @stuartmarks@mastodon.social @mehmandarov@mastodon.social For what it's worth, `FAIL_ON_UNKNOWN_PROPERTIES` is disabled by default in Jackson 3.0. https://github.com/FasterXML/jackson/blob/main/jackson3/MIGRATING_TO_JACKSON_3.md#changes-deserializationfeature

    Open ##3454290