Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Bugfix - update type when updating value. #14

Merged
merged 1 commit into from
Dec 16, 2014

Conversation

markmarijnissen
Copy link
Contributor

In my app a value changes from "sample1" to false.

It changes the type from string to boolean.

This caused an error:

Before: An error is thrown, because escapeString cannot escape a boolean (i.e. booleans don't have a replace function)
After: No error is thrown.

In my app a value changes from `"sample1"` to `false`.

It changes the type from `string` to `boolean`. 

This caused an error: 

Before: An error is thrown, because `escapeString` cannot escape a boolean (i.e. booleans don't have a `replace` function)
After: No error is thrown.
mohsen1 added a commit that referenced this pull request Dec 16, 2014
Bugfix - update type when updating value.
@mohsen1 mohsen1 merged commit 63c1d44 into mohsen1:master Dec 16, 2014
@mohsen1
Copy link
Owner

mohsen1 commented Dec 16, 2014

👍

mohsen1 added a commit that referenced this pull request Dec 16, 2014
@mohsen1
Copy link
Owner

mohsen1 commented Dec 16, 2014

@markmarijnissen FYI Your fix missed the fact that we put "null" as type for null objects. I've patched it in 0.2.7 by e9d99ba

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants