FasterXML / FasterXML/jackson-dataformats-binary

Primitive fields inside unwrapped optional value not considered nullable in schema

未关闭
#12 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
avro
主要语言
Java
星标
347
派生
156
平均合并
3 天 3 小时
30 天内合并 PR
22

描述

(from https://github.com/FasterXML/jackson-dataformat-avro/issues/29 by @osi)

When generating an avro schema, given:

``` java
class A {
@JsonUnwrapped
public final Optional b;
}

class B {
public final boolean flag;
}
```

The generated schema for A does not consider the 'flag' field to be nullable.

贡献指南

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

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

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