airbytehq / airbytehq/PyAirbyte

💡 Feature Request: Provide more robust handling of `anyOf(string, object)` scenarios

Aperta
#253 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
Python
Stelle
344
Fork
77
Merge medio
1g 11h
PR unite (30g)
35

Descrizione

Related to issues discovered during work on these PRs:

- #251
- #246

We currently fall back to string type as a failsafe whenever we get a type we can't type properly. For cases where the field is defined as `anyOf(string, object)`, aka `type = ["string", "object"]` or `type = ["null", "string", object"]`, we are considering changing the behavior so that the value would be stored in a JSON-like field, such as `JSON` or `VARIANT`.

These JSON-like types are capable of holding "bare" string values as well as other variant data.

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.