export features as standard ember service
See original GitHub issuetrying to inject the features
service into other components using Ember.inject.service()
raises an error:
export default Ember.Component.extend({
features: Ember.inject.service()
});
Uncaught Error: Attempting to inject an unknown injection:
service:features
Issue Analytics
- State:
- Created 8 years ago
- Comments:5 (2 by maintainers)
Top Results From Across the Web
Overview - Services - Ember Guides
Services are useful for features that require shared state or persistent connections. ... import Service from '@ember/service'; export default class ...
Read more >minutebase/ember-can: Simple authorisation addon ... - GitHub
Simple authorisation addon for Ember apps. Contribute to minutebase/ember-can development by creating an account on GitHub.
Read more >Services - ember-cli-typescript
Ember Services are global singleton classes that can be made available to different parts of ... export default class ShoppingCartService extends Service {....
Read more >Ember-can | Simple authorisation addon for Ember apps
Simple authorisation addon for Ember apps. ... Ember-can ... import { inject as service } from '@ember/service'; export default Route.extend({ can: ...
Read more >The State of the Ember Addon Ecosystem in 2019 - Salsify
Runtime Runtime addons provide features that will be present in the final application, these include Ember components like ember-power-select ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I’ve now made it a standard service (committed to master, to be released soon), but it will be a breaking change.
As a workaround, what about this?