I have a few custom adapters in my application that depend on injected services.
I've updated my app to use ember-metrics 2.0.0-beta.2 and am now seeing this error in the console when running the app:
Uncaught (in promise) Error: Assertion Failed: Attempting to lookup an injected property on an object without a container, ensure that the object was instantiated via a container.
Proposing this change to the metrics service to fix this:
I have a few custom adapters in my application that depend on injected services.
I've updated my app to use ember-metrics 2.0.0-beta.2 and am now seeing this error in the console when running the app:
Proposing this change to the metrics service to fix this: