loopback-next
loopback-next copied to clipboard
fix(sequelize): parse JSON columns to objects for mysql dialect
By parsing the values to JSON objects, provide backward compatibility for JSON and Array entity properties when using dialects like MySQL, MariaDB, or SQLite.
Fixes: #9629 Fixes: #9598
Checklist
- [x] DCO (Developer Certificate of Origin) signed in all commits
- [x]
npm test
passes on your machine - [x] New tests added or existing tests modified to cover all changes
- [ ] Code conforms with the style guide
- [ ] API Documentation in code was updated
- [ ] Documentation in /docs/site was updated
- [ ] Affected artifact templates in
packages/cli
were updated - [ ] Affected example projects in
examples/*
were updated
Pull Request Test Coverage Report for Build 8590810023
Details
- 0 of 0 changed or added relevant lines in 0 files are covered.
- No unchanged relevant lines lost coverage.
- Overall coverage remained the same at 55.371%
Totals | |
---|---|
Change from base Build 8564057942: | 0.0% |
Covered Lines: | 9563 |
Relevant Lines: | 12457 |
💛 - Coveralls
@KalleV This PR is good to be merged now. Can you please rebase this PR ?
@samarpanB Thanks! I fixed the rebase merge conflicts.