FasterXML / FasterXML/jackson-dataformats-binary

Primitive fields inside unwrapped optional value not considered nullable in schema

Open
#12 0 comments 0 reactions 0 assignees View on GitHub
avro
Dominant language
Java
Stars
347
Forks
156
Avg merge
3d 3h
Merged PRs (30d)
22

Description

(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.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.