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

Fix parsing on saving through query #43

Merged
merged 1 commit into from
Nov 11, 2016

Conversation

ricardogama
Copy link
Collaborator

This PR fixes parsing of columns when a fetched event is triggered after inserting or updating through knex query builder.

Closes #42

@ricardogama ricardogama force-pushed the bugfix/parse-after-saving-through-query branch 3 times, most recently from c6c7087 to 7604e8d Compare November 10, 2016 09:44
model.get('foo').should.eql(['bar']);
});

it('should keep a JSON value updating through query', async () => {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should keep a JSON value when updating through query

@ricardogama ricardogama force-pushed the bugfix/parse-after-saving-through-query branch 4 times, most recently from a5496fd to 3bdc165 Compare November 11, 2016 11:05
@ricardogama ricardogama force-pushed the bugfix/parse-after-saving-through-query branch from 3bdc165 to 831a37d Compare November 11, 2016 17:59
@abelsoares abelsoares merged commit f016f18 into master Nov 11, 2016
@abelsoares abelsoares deleted the bugfix/parse-after-saving-through-query branch November 11, 2016 18:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

model.refresh is not working properly | bug
2 participants