You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Observing this error when using the @queryParam decorator:
Error: Assertion Failed: Attempting to lookup an injected property on an object without a container, ensure that the object was instantiated via a container.
Strangely, it throws the error when trying to set up the service injections on my controller.
Usage:
exportdefaultclassStuffControllerextendsController{// error occurs when trying to set up this injection
@service('stuff')stuffAPI;
@trackedstuffs=[];
@queryParam({refresh: true})page=1;
@queryParam({refresh: true})pageSize=100;
...
}
Observing this error when using the
@queryParam
decorator:Strangely, it throws the error when trying to set up the service injections on my controller.
Usage:
Versions
The text was updated successfully, but these errors were encountered: