Memory adapter fromDb function is coercing boolean as object after save() #376

Closed
pocesar opened this Issue Feb 12, 2014 · 2 comments

Projects

None yet

2 participants

@pocesar
Contributor
pocesar commented Feb 12, 2014

It makes the value of the Boolean to come out as an empty object {}, because it's using val = new Boolean(val). instead, it should be val = Boolean(val)

@anatoliychakkaev
Collaborator

Can you fix?

On 12 February 2014 15:18, Paulo Cesar notifications@github.com wrote:

It makes the value of the Boolean to come out as an empty object {},
because it's using new Boolean(val). instead, it should be val =
Boolean(val)

Reply to this email directly or view it on GitHubhttps://github.com/1602/jugglingdb/issues/376
.

@pocesar
Contributor
pocesar commented Feb 12, 2014

sure, in a moment

@pocesar pocesar added a commit to pocesar/promised-jugglingdb that referenced this issue Feb 12, 2014
@pocesar pocesar Update memory.js
fixes #376
7ccaeec
@randunel randunel closed this in #377 Feb 12, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment