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

Cautioning use of prototype extensions #231

Merged
merged 2 commits into from
Dec 8, 2016

Conversation

jasonmit
Copy link
Contributor

Based on the last meeting, adding to the README to caution that prototype extensions cannot be reliably used.

Based on the last meeting, adding to the README to caution that prototype extensions cannot be reliably used.

Prototype extensions do not currently work across node "realms." Fastboot
applications operate in two realms, a normal node environment and a [virtual machine](https://nodejs.org/api/vm.html). Passing objects that originated from the normal realm will not contain the extension methods
inside of the sandbox environment. For this reason, it's encouraged to [disable prototype extensions](https://guides.emberjs.com/v2.3.0/configuring-ember/disabling-prototype-extensions/).

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could we link to a more current version of the Ember guides here? It'd be nice to link to an LTS (either 2.4 or 2.8 in a week or two ...)

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Updated link to 2.4.0

@rwjblue rwjblue merged commit 91017a5 into ember-fastboot:master Dec 8, 2016
xg-wang pushed a commit to xg-wang/ember-cli-fastboot that referenced this pull request Nov 16, 2020
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

Successfully merging this pull request may close these issues.

3 participants