appsmithorg / appsmithorg/appsmith

[Feature] Smart JSON substitution enhancements

Đang mở
#3,811 2 bình luận 0 reaction 0 người được giao Xem trên GitHub
Community Reported Core Query Execution Enhancement Integrations Product Query & JS Pod Query Widgets & IDE Pod
Ngôn ngữ chính
TypeScript
Star
40.9k
Fork
4.8k
Merge trung bình
1 ngày 22 giờ
Pull request đã merge (30 ngày)
45

Mô tả

## Summary
Casting empty values appropriately and automatically can have a high impact when defining JSON payloads.
Today, we need to write verbose ternary operations to cast them accordingly.

For example:
`undefined` is considered incorrect in JSON, so we should have it automatically substituted to `null` during Smart JSON substitution

A screenshot of how verbose it is for users:
![smart-substitution](https://user-images.githubusercontent.com/103687/113521035-90beb000-95b4-11eb-92b4-72051b407bfa.png)

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.