getoutreach / epf

A framework for keeping your Ember.js apps in sync.
http://epf.io
MIT License
369 stars 33 forks source link

rc8 breaking adapter pluralization #84

Closed heartsentwined closed 10 years ago

heartsentwined commented 11 years ago

Given

Ep.RestAdapter.configure 'plurals',
  foo: 'foo' # force singular

This query

App.__container__.lookup('session:main').query('foo');

would correctly reach /foo in ember 1.0.0.rc7, but would reach /foos in ember 1.0.0.rc8, as if the plural configuration is ignored.

A git bisect gives emberjs/ember.js@7c9e714 as the first breaking commit.

ghempton commented 11 years ago

Thanks for the bisect. I will get to the bottom of this.

ghempton commented 10 years ago

EPF now uses ember-inflector, and the pluralization API has changed to be the same as ED 1.0. Am closing, but please re-open if you still have issues.

heartsentwined commented 10 years ago

kudos for ember-inflector! I had been using that in my apps for some time, but then I had to keep track of which lib is following it and which isn't...