FasterXML / FasterXML/jackson-dataformats-binary

Primitive fields inside unwrapped optional value not considered nullable in schema

Ouverte
#12 0 commentaires 0 réactions 0 personnes assignées Voir sur GitHub
avro
Langage dominant
Java
Étoiles
347
Forks
156
Merge moyen
3 j 3 h
PR mergées (30 j)
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.

Guide de contribution

Aucun guide de contribution indexé pour ce dépôt

Évaluation

Cette issue n'a pas encore été évaluée.

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.