Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

{beta} Beta unload and create #5098

Merged
merged 2 commits into from
Jul 28, 2017
Merged

{beta} Beta unload and create #5098

merged 2 commits into from
Jul 28, 2017

Conversation

stefanpenner
Copy link
Member

No description provided.

The following should be possible:

```js
const record = store.find(‘record’, 1);
record.unloadRecord();
store.createRecord(‘record’, 1);
```

before this commit, the `createRecord` would fail,
as the `record` would not yet be fully unloaded, 
and its ID would still be reserved.
@mileszim
Copy link

mileszim commented Jul 28, 2017

This solves a longstanding problem, thank you! Anything I can do to help test this?

@stefanpenner
Copy link
Member Author

@mileszim Sorry, i forgot to merge (and release). Thanks for the reminder

This solves a longstanding problem, thank you! Anything I can do to help test this?

If you can double checked this solved your issue (in the beta branch), and report back. That would be great.

@stefanpenner
Copy link
Member Author

@mileszim also, sorry this has been an issue for so long. :( :(

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants