Skip to content

Test afterUpdate values (failing test)#73

Open
dmarcelino wants to merge 1 commit into
balderdashy:masterfrom
dmarcelino:afterUpdate-values
Open

Test afterUpdate values (failing test)#73
dmarcelino wants to merge 1 commit into
balderdashy:masterfrom
dmarcelino:afterUpdate-values

Conversation

@dmarcelino
Copy link
Copy Markdown
Member

Adds failing test for balderdashy/waterline#698 and should replace balderdashy/waterline#971.

As reported in balderdashy/waterline#698, when a record is updated in sails-mysql, the arrays passed to afterUpdate lifecycle callback are transformed to strings. This test exposes that, as you can see here: https://travis-ci.org/balderdashy/waterline-adapter-tests/jobs/62815681#L556

Remaining task:

  • Fix sails-mysql balderdashy/sails-mysql#219

Do not merge yet, this breaks sails-mysql tests

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

Labels

Development

Successfully merging this pull request may close these issues.

1 participant