appsmithorg / appsmithorg/appsmith

[Feature] Smart JSON substitution enhancements

Ouverte
#3,811 2 commentaires 0 réactions 0 personnes assignées Voir sur GitHub
Community Reported Core Query Execution Enhancement Integrations Product Query & JS Pod Query Widgets & IDE Pod
Langage dominant
TypeScript
Étoiles
40.9k
Forks
4.8k
Merge moyen
1 j 22 h
PR mergées (30 j)
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)

Guide de contribution

Ouvrir le guide de contribution

É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.