Skip to content

Make unloadAll() unload all records, deprecate unloadAll(type) in favor ... - #2999

Merged
fivetanley merged 2 commits into
warp-drive-data:masterfrom
svox1:unload-all
Apr 28, 2015
Merged

Make unloadAll() unload all records, deprecate unloadAll(type) in favor ...#2999
fivetanley merged 2 commits into
warp-drive-data:masterfrom
svox1:unload-all

Conversation

@svox1

@svox1 svox1 commented Apr 13, 2015

Copy link
Copy Markdown
Contributor

Make unloadAll() unload all records, deprecate unloadAll(type) in favor of unloadType(type)

Big thx to @wecc for the support!

@fivetanley

Copy link
Copy Markdown
Contributor

LGTM but we'll plus one / merge it at friday's meeting

@svox1

svox1 commented Apr 22, 2015

Copy link
Copy Markdown
Contributor Author

Sounds good, but was there any issues on this?

hm... you didnt say which friday 😃

@fivetanley

Copy link
Copy Markdown
Contributor

Hey this looked great to us. We weren't solid on unloadType. Igor and I thought this could be construed as unloading an entire type (as in you can't make new records with it) from the store.

@wecc suggested unloadRecordsByType(type), unloadAllRecords() as new method names, I think those are good. If you have any alternative names we're totally open to it! If not, if you can update the PR with the renames I will merge it ASAP. Thanks!

@wecc wecc removed the team-review label Apr 24, 2015
@fivetanley

Copy link
Copy Markdown
Contributor

After talking at the meeting, we'd like to switch on type. So for example unloadAll() and unloadAll(type). We can always switch these to different methods later in a backwards compatible way.

@svox1

svox1 commented Apr 27, 2015

Copy link
Copy Markdown
Contributor Author

I hope I have understood you correctly.

I have change the method so we have:
unloadAll(); and
unloadAll(type);

@fivetanley

Copy link
Copy Markdown
Contributor

👍 I'll merge it once Travis and Appveyor give us the green light. Thanks!

@quaertym

Copy link
Copy Markdown

👍 Great.

fivetanley added a commit that referenced this pull request Apr 28, 2015
Make unloadAll() unload all records, deprecate unloadAll(type) in favor ...
@fivetanley
fivetanley merged commit 49f00ab into warp-drive-data:master Apr 28, 2015
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.

4 participants