airbytehq / airbytehq/PyAirbyte

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

Đang mở
#253 0 bình luận 0 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
Python
Star
344
Fork
77
Merge trung bình
1 ngày 11 giờ
Pull request đã merge (30 ngày)
35

Mô tả

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.

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.