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

Models should return undefined if intermediate accessed value is undefined #31

Closed
mjstahl opened this issue Jun 12, 2019 · 0 comments
Closed
Labels
enhancement New feature or request

Comments

@mjstahl
Copy link
Collaborator

mjstahl commented Jun 12, 2019

// given
const a = {}

// if I attempt to access
a.b.c //->

// an exception will be thrown because 'b' is undefined

// models should return undefined instead of throwing
@mjstahl mjstahl added the enhancement New feature or request label Jun 19, 2019
@mjstahl mjstahl closed this as completed Jul 18, 2019
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

No branches or pull requests

1 participant