adopted-ember-addons / adopted-ember-addons/ember-data-model-fragments
Undefined as a DefaultValue
- Lingua principale
- TypeScript
- Stelle
- 367
- Fork
- 108
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Descrizione
It would be great, if we could write this: `property: fragment('pathToProp', { defaultValue: undefined })`
Sometimes it needs when a server sends incomplete data. And we should distinguish if an object/array is empty or undefined.
Guida per i contributori
Apri la guida per i contributori
Direzione di ricerca
Locate the fragment(...) entry point and inspect how defaultValue is handled for empty objects, arrays, and missing values. Confirm the expected distinction described in the issue, then add coverage for defaultValue: undefined and verify that existing empty-object and empty-array behavior remains distinct.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- typescript
- Ambito
- frontend
- Tipo di issue
- Funzionalità
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Stato di attività
- Ferma
- Chiarezza
- Abbastanza chiara
- Idoneità per principianti
- 35/100