appsmithorg / appsmithorg/appsmith

[Feature] Smart JSON substitution enhancements

Open
#3,811 2 comments 0 reactions 0 assignees View on GitHub
Community Reported Core Query Execution Enhancement Integrations Product Query & JS Pod Query Widgets & IDE Pod
Dominant language
TypeScript
Stars
40.9k
Forks
4.8k
Avg merge
1d 22h
Merged PRs (30d)
45

Description

## 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)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.