adopted-ember-addons / adopted-ember-addons/ember-data-model-fragments
can't unload/destroy fragments?
未關閉
- 主要語言
- TypeScript
- 星號
- 367
- 分支
- 108
- PR 合併指標
- 30 天內沒有已合併 PR
描述
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?
貢獻指南
評估
這個 Issue 還沒有評估資料。