FasterXML / FasterXML/jackson-annotations

Add `ElementType.PARAMETER` to `@JsonIgnore` to allow use for Constructor parameters

未关闭
#258 8 条评论 2 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
Java
星标
1.1k
派生
342
平均合并
8 小时 53 分钟
30 天内合并 PR
2

描述

(note: off-shoot of https://github.com/FasterXML/jackson-databind/issues/4626)

Looks like `@JsonIgnore` cannot be used on method/constructor parameters: latter can be problematic with Record types in particular (but also regulard POJOs' Constructors or Factory methods).
So let's add that in 2.18.

贡献指南

这个仓库没有索引到贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。