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

Cannot display property of frozen object #632

Closed
arkadiyk opened this issue Aug 26, 2017 · 1 comment
Closed

Cannot display property of frozen object #632

arkadiyk opened this issue Aug 26, 2017 · 1 comment

Comments

@arkadiyk
Copy link

arkadiyk commented Aug 26, 2017

If I have a property like this:

  user = Object.freeze({id: "123"});

And try to display it:

User id: {{user.id}}

I am getting this error:

tracked.ts:236 Uncaught TypeError: Cannot add property Symbol(ember-object), object is not extensible

Glimmer Playground example: http://tinyurl.com/ycklxry6

I am trying to use https://github.com/apollographql/apollo-client with Glimmer. But it fails because Apollo Client result set is frozen

@arkadiyk arkadiyk changed the title Cannot track property on frozen object Cannot display property of frozen object Jan 25, 2018
@tomdale
Copy link
Contributor

tomdale commented Mar 11, 2018

Should be fixed in glimmerjs/glimmer.js#119

@tomdale tomdale closed this as completed Mar 11, 2018
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