appsmithorg / appsmithorg/appsmith

[Feature] Smart JSON substitution enhancements

Aperta
#3,811 2 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Community Reported Core Query Execution Enhancement Integrations Product Query & JS Pod Query Widgets & IDE Pod
Lingua principale
TypeScript
Stelle
40.9k
Fork
4.8k
Merge medio
1g 22h
PR unite (30g)
45

Descrizione

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

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.