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

[BUGFIX beta] Normalize model names during push #5242

Merged
merged 1 commit into from
Oct 25, 2017

Conversation

hjdivad
Copy link
Member

@hjdivad hjdivad commented Oct 25, 2017

Model names are normalized (so eg store.peekRecord('fooBar',1) === store.peekRecord('foo-bar', 1)) at most of the store API (peekRecord,findRecord &c.) but notably absent is push.

This adds back model name normalization to push

@hjdivad hjdivad force-pushed the hjdivad/store-normalized-model-name branch from f8f6750 to 4f4db40 Compare October 25, 2017 17:51
@hjdivad
Copy link
Member Author

hjdivad commented Oct 25, 2017

@bmac @fivetanley @runspired this is re the conversation we were having yesterday

Copy link
Member

@rwjblue rwjblue left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Might want to change this to [BUGFIX beta]?

Model names are normalized (so eg `store.peekRecord('fooBar',1) ===
store.peekRecord('foo-bar', 1)`) at most of the store API (`peekRecord`,
`findRecord` &c.) but notably absent is `push`.

This commit adds back model name normalization to `push`.
@hjdivad hjdivad force-pushed the hjdivad/store-normalized-model-name branch from 4f4db40 to a698568 Compare October 25, 2017 20:07
@hjdivad
Copy link
Member Author

hjdivad commented Oct 25, 2017

good point @rwjblue

@hjdivad hjdivad changed the title Normalize model names during push [BUGFIX beta] Normalize model names during push Oct 25, 2017
@hjdivad hjdivad merged commit b8977e5 into master Oct 25, 2017
@hjdivad hjdivad deleted the hjdivad/store-normalized-model-name branch October 25, 2017 23:39
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

5 participants