adopted-ember-addons / adopted-ember-addons/ember-data-model-fragments
can't unload/destroy fragments?
Abierto
- Lenguaje dominante
- TypeScript
- Estrellas
- 367
- Forks
- 108
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Descripción
Not sure if this is a bug or desired feature, but If I do the following:
```
fragment = this.get('store').createFragment('thingy')
fragment.unloadRecord()
```
I get the error:
```
EmberError {description: undefined, fileName: undefined, lineNumber: undefined, message: "Attempted to handle event `unloadRecord` on while in state root.loaded.created. ", name: "Error"…}
```
Should the record be just removed?
Guía de contribución
Evaluación
Este issue todavía no se ha evaluado.