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

Add overridable isObject function #67

Closed
wants to merge 3 commits into from

Conversation

snewcomer
Copy link
Collaborator

For Ember usage.

@andreyfel 👋 How would you modify isObject for the Ember case. Would it include !isObjectProxy || !isArrayProxy?

ref adopted-ember-addons/ember-changeset#488

@snewcomer snewcomer added the enhancement New feature or request label Jun 5, 2020
@snewcomer snewcomer self-assigned this Jun 5, 2020
@andreyfel
Copy link
Contributor

The fact that it is an ObjectProxy doesn't mean that it is not an Object. So, I would unwrap the proxy and apply isObject check to its content.

@snewcomer
Copy link
Collaborator Author

rethinking

@snewcomer snewcomer closed this Jun 12, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants