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

Error message: Assertion Failed: You attempted to access the willMergeMixin property (of <mortgage-app@service:features #93

Open
gvocale opened this issue Jun 24, 2020 · 2 comments

Comments

@gvocale
Copy link

gvocale commented Jun 24, 2020

When I start Ember Inspector, I get this warning in console:

Error message: Assertion Failed: You attempted to access the `willMergeMixin` property (of <mortgage-app@service:features

Since Ember 3.1, this is usually fine as you no longer need to use `.get()`
to access computed properties. However, in this case, the object in question
is a special kind of Ember object (a proxy). Therefore, it is still necessary
to use `.get('willMergeMixin')` in this case.

Is this warning being caused by ember-feature-flag or Inspector or else?

@kategengler
Copy link
Owner

You need to use .get with the features service due to it being a proxy. It's possible the inspector is not using .get to inspect properties.

@gvocale
Copy link
Author

gvocale commented Jun 24, 2020

@kategengler thanks! I'll try see if the issue is on my end or coming from the inspector. If the latter I'll open the bug with inspector.

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