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

Deprecation warning with Ember 2.18.0 (Ember Inflector deprecation (pluralizing)) #544

Closed
ArmeniaH opened this issue Feb 12, 2018 · 2 comments

Comments

@ArmeniaH
Copy link

Hello

With Ember 2.18.0 there is an update of Ember Inflector component which cases a deprecation error with EmberFire 2.0.9

DEPRECATION: Ember.String.pluralize() is deprecated. Please explicitly: import { pluralize } from 'ember-inflector'; [deprecation id: ember-inflector.globals]

which is used in adapters/firebase.js

   * Determines a path fo a given type
   */
  pathForType(modelName) {
    var camelized = Ember.String.camelize(modelName);
    return Ember.String.pluralize(camelized);
  },
@jamesdaniels
Copy link
Contributor

Would you be willing to send a PR?

@ArmeniaH
Copy link
Author

Yes, give me some time please

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

No branches or pull requests

2 participants