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

validation of null rows. #5

Open
tharyckgusmao opened this issue Dec 4, 2017 · 1 comment
Open

validation of null rows. #5

tharyckgusmao opened this issue Dec 4, 2017 · 1 comment

Comments

@tharyckgusmao
Copy link

We have a problem with the validation operator for object type without null javascript and a type to point to an empty object. However validation breaks if I have rows with null values.

const isObject = typeof data[i] === 'object'

change to :

const isObject = typeof data[i] === 'object' && data[i] != null

@fjlaubscher
Copy link
Contributor

hey @tharyckgusmao

You're more than welcome to create a PR if you'd like to contribute to the library and fix it yourself 😊

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants