ember-fastboot / ember-fastboot/ember-cli-fastboot

Fastboot: this.get('fastBoot.isFastBoot') is undefined

Open
#598 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
850
Forks
161
Avg merge
17h 45m
Merged PRs (30d)
19

Description

While debugging an error in authentication for my app, I came across this in `ember-cookie`

```js
_fastBoot: Ember.computed(function () {
var owner = Ember.getOwner(this);

return owner.lookup('service:fastboot');
}),
```

But when I set a breakpoint in code, I see that `this.get('_fastBoot.isFastBoot')` is `undefined` , while `this.get('_fastBoot').get('isFastBoot')` is `true`. This is breaking out an `if` block and brekaing the application.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.