-
Notifications
You must be signed in to change notification settings - Fork 8
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(sequelize-ds): allow user to create a record when there is a virtual field by removing it from the returned record #1223
Conversation
@@ -115,7 +127,7 @@ describe('SequelizeDataSource > Collection', () => { | |||
}; | |||
|
|||
it('should delegate work to `sequelize.model.bulkCreate`', async () => { | |||
const data = [{ data: 'data' }, { data: 10 }, { data: ['Enum'] }]; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Data does not exist in the model. I replace it by existing fields.
e2f2232
to
16b29ee
Compare
Code Climate has analyzed commit 16b29ee and detected 0 issues on this pull request. The test coverage on the diff in this pull request is 100.0% (98% is the threshold). This pull request will bring the total coverage in the repository to 97.2%. View more on Code Climate. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
-
✅ PR title
-
✅ PR linked to the clickup task
-
✅ The PR tackle one subject only
-
✅ Destination branch
-
✅ Code review
- ✅ Use pure functions when possible
- ✅ Performance concerns
- ✅ Security concerns
-
✅ Automatic tests
- ✅ Unit tests
- ✅ Integration tests
-
✅ Manual tests
- ✅ Test the functionality
- ✅ Test error cases
## [1.11.18](https://github.com/ForestAdmin/agent-nodejs/compare/[email protected]@1.11.18) (2024-12-03) ### Bug Fixes * **sequelize-ds:** allow user to create a record when there is a virtual field by removing it from the returned record ([#1223](#1223)) ([a7cb4da](a7cb4da))
## [1.5.6](https://github.com/ForestAdmin/agent-nodejs/compare/@forestadmin/[email protected]...@forestadmin/[email protected]) (2024-12-03) ### Bug Fixes * introduce agentCapabilities sub object ([#1222](#1222)) ([bce04f9](bce04f9)) * **sequelize-ds:** allow user to create a record when there is a virtual field by removing it from the returned record ([#1223](#1223)) ([a7cb4da](a7cb4da)) ### Features * **capabilities:** add capabilities on get one projection ([#1221](#1221)) ([0909eaf](0909eaf))
🎉 This PR is included in version 1.12.10 🎉 The release is available on npm package (@latest dist-tag) Your semantic-release bot 📦🚀 |
## [1.11.1](https://github.com/ForestAdmin/agent-nodejs/compare/@forestadmin/[email protected]...@forestadmin/[email protected]) (2024-12-03) ### Bug Fixes * introduce agentCapabilities sub object ([#1222](#1222)) ([bce04f9](bce04f9)) * **sequelize-ds:** allow user to create a record when there is a virtual field by removing it from the returned record ([#1223](#1223)) ([a7cb4da](a7cb4da)) ### Features * **capabilities:** add capabilities on get one projection ([#1221](#1221)) ([0909eaf](0909eaf))
🎉 This PR is included in version 1.11.18 🎉 The release is available on Your semantic-release bot 📦🚀 |
## [1.16.1](https://github.com/ForestAdmin/agent-nodejs/compare/@forestadmin/[email protected]...@forestadmin/[email protected]) (2024-12-03) ### Bug Fixes * introduce agentCapabilities sub object ([#1222](#1222)) ([bce04f9](bce04f9)) * **sequelize-ds:** allow user to create a record when there is a virtual field by removing it from the returned record ([#1223](#1223)) ([a7cb4da](a7cb4da)) ### Features * **capabilities:** add capabilities on get one projection ([#1221](#1221)) ([0909eaf](0909eaf))
🎉 This PR is included in version 1.5.6 🎉 The release is available on npm package (@latest dist-tag) Your semantic-release bot 📦🚀 |
🎉 This PR is included in version 1.11.1 🎉 The release is available on npm package (@latest dist-tag) Your semantic-release bot 📦🚀 |
🎉 This PR is included in version 1.16.1 🎉 The release is available on npm package (@latest dist-tag) Your semantic-release bot 📦🚀 |
🎉 This PR is included in version 1.1.15 🎉 The release is available on npm package (@latest dist-tag) Your semantic-release bot 📦🚀 |
# [1.56.0](https://github.com/ForestAdmin/agent-nodejs/compare/@forestadmin/[email protected]...@forestadmin/[email protected]) (2024-12-18) ### Bug Fixes * **export-advanced:** compute filename on runtime ([#1229](#1229)) ([44082e8](44082e8)) * **security:** patch mongoose dependency vulnerabilities ([#1224](#1224)) ([d6197a9](d6197a9)) * **security:** patch path-to-regexp dependency vulnerabilities ([#1227](#1227)) ([839a4f3](839a4f3)) * **sequelize-ds:** allow user to create a record when there is a virtual field by removing it from the returned record ([#1223](#1223)) ([a7cb4da](a7cb4da)) ### Features * **native-query:** execute chart query requests ([#1225](#1225)) ([84b26dd](84b26dd))
# [1.57.0](https://github.com/ForestAdmin/agent-nodejs/compare/@forestadmin/[email protected]...@forestadmin/[email protected]) (2024-12-18) ### Bug Fixes * **export-advanced:** compute filename on runtime ([#1229](#1229)) ([44082e8](44082e8)) * introduce agentCapabilities sub object ([#1222](#1222)) ([bce04f9](bce04f9)) * **security:** patch mongoose dependency vulnerabilities ([#1224](#1224)) ([d6197a9](d6197a9)) * **security:** patch path-to-regexp dependency vulnerabilities ([#1227](#1227)) ([839a4f3](839a4f3)) * **sequelize-ds:** allow user to create a record when there is a virtual field by removing it from the returned record ([#1223](#1223)) ([a7cb4da](a7cb4da)) ### Features * **capabilities:** add capabilities on get one projection ([#1221](#1221)) ([0909eaf](0909eaf)) * **native-query:** execute chart query requests ([#1225](#1225)) ([84b26dd](84b26dd))
## [1.1.42](https://github.com/ForestAdmin/agent-nodejs/compare/@forestadmin/[email protected]...@forestadmin/[email protected]) (2024-12-18) ### Bug Fixes * **export-advanced:** compute filename on runtime ([#1229](#1229)) ([44082e8](44082e8)) * introduce agentCapabilities sub object ([#1222](#1222)) ([bce04f9](bce04f9)) * **security:** patch mongoose dependency vulnerabilities ([#1224](#1224)) ([d6197a9](d6197a9)) * **security:** patch path-to-regexp dependency vulnerabilities ([#1227](#1227)) ([839a4f3](839a4f3)) * **sequelize-ds:** allow user to create a record when there is a virtual field by removing it from the returned record ([#1223](#1223)) ([a7cb4da](a7cb4da)) ### Features * **capabilities:** add capabilities on get one projection ([#1221](#1221)) ([0909eaf](0909eaf)) * **native-query:** execute chart query requests ([#1225](#1225)) ([84b26dd](84b26dd))
## [1.8.7](https://github.com/ForestAdmin/agent-nodejs/compare/@forestadmin/[email protected]...@forestadmin/[email protected]) (2024-12-18) ### Bug Fixes * **export-advanced:** compute filename on runtime ([#1229](#1229)) ([44082e8](44082e8)) * introduce agentCapabilities sub object ([#1222](#1222)) ([bce04f9](bce04f9)) * **security:** patch mongoose dependency vulnerabilities ([#1224](#1224)) ([d6197a9](d6197a9)) * **security:** patch path-to-regexp dependency vulnerabilities ([#1227](#1227)) ([839a4f3](839a4f3)) * **sequelize-ds:** allow user to create a record when there is a virtual field by removing it from the returned record ([#1223](#1223)) ([a7cb4da](a7cb4da)) ### Features * **capabilities:** add capabilities on get one projection ([#1221](#1221)) ([0909eaf](0909eaf)) * **native-query:** execute chart query requests ([#1225](#1225)) ([84b26dd](84b26dd))
🎉 This PR is included in version 1.3.27 🎉 The release is available on npm package (@latest dist-tag) Your semantic-release bot 📦🚀 |
# [1.45.0](https://github.com/ForestAdmin/agent-nodejs/compare/@forestadmin/[email protected]...@forestadmin/[email protected]) (2024-12-18) ### Bug Fixes * **export-advanced:** compute filename on runtime ([#1229](#1229)) ([44082e8](44082e8)) * introduce agentCapabilities sub object ([#1222](#1222)) ([bce04f9](bce04f9)) * **security:** patch mongoose dependency vulnerabilities ([#1224](#1224)) ([d6197a9](d6197a9)) * **security:** patch path-to-regexp dependency vulnerabilities ([#1227](#1227)) ([839a4f3](839a4f3)) * **sequelize-ds:** allow user to create a record when there is a virtual field by removing it from the returned record ([#1223](#1223)) ([a7cb4da](a7cb4da)) ### Features * **capabilities:** add capabilities on get one projection ([#1221](#1221)) ([0909eaf](0909eaf)) * **native-query:** execute chart query requests ([#1225](#1225)) ([84b26dd](84b26dd))
# [1.36.0](https://github.com/ForestAdmin/agent-nodejs/compare/@forestadmin/[email protected]...@forestadmin/[email protected]) (2024-12-18) ### Bug Fixes * **export-advanced:** compute filename on runtime ([#1229](#1229)) ([44082e8](44082e8)) * introduce agentCapabilities sub object ([#1222](#1222)) ([bce04f9](bce04f9)) * **security:** patch mongoose dependency vulnerabilities ([#1224](#1224)) ([d6197a9](d6197a9)) * **security:** patch path-to-regexp dependency vulnerabilities ([#1227](#1227)) ([839a4f3](839a4f3)) * **sequelize-ds:** allow user to create a record when there is a virtual field by removing it from the returned record ([#1223](#1223)) ([a7cb4da](a7cb4da)) ### Features * **capabilities:** add capabilities on get one projection ([#1221](#1221)) ([0909eaf](0909eaf)) * **native-query:** execute chart query requests ([#1225](#1225)) ([84b26dd](84b26dd))
## [1.4.10](https://github.com/ForestAdmin/agent-nodejs/compare/@forestadmin/[email protected]...@forestadmin/[email protected]) (2024-12-18) ### Bug Fixes * **export-advanced:** compute filename on runtime ([#1229](#1229)) ([44082e8](44082e8)) * introduce agentCapabilities sub object ([#1222](#1222)) ([bce04f9](bce04f9)) * **security:** patch mongoose dependency vulnerabilities ([#1224](#1224)) ([d6197a9](d6197a9)) * **security:** patch path-to-regexp dependency vulnerabilities ([#1227](#1227)) ([839a4f3](839a4f3)) * **sequelize-ds:** allow user to create a record when there is a virtual field by removing it from the returned record ([#1223](#1223)) ([a7cb4da](a7cb4da)) ### Features * **capabilities:** add capabilities on get one projection ([#1221](#1221)) ([0909eaf](0909eaf)) * **native-query:** execute chart query requests ([#1225](#1225)) ([84b26dd](84b26dd))
# [1.4.0](https://github.com/ForestAdmin/agent-nodejs/compare/@forestadmin/[email protected]...@forestadmin/[email protected]) (2024-12-18) ### Bug Fixes * **export-advanced:** compute filename on runtime ([#1229](#1229)) ([44082e8](44082e8)) * introduce agentCapabilities sub object ([#1222](#1222)) ([bce04f9](bce04f9)) * **security:** patch mongoose dependency vulnerabilities ([#1224](#1224)) ([d6197a9](d6197a9)) * **security:** patch path-to-regexp dependency vulnerabilities ([#1227](#1227)) ([839a4f3](839a4f3)) * **sequelize-ds:** allow user to create a record when there is a virtual field by removing it from the returned record ([#1223](#1223)) ([a7cb4da](a7cb4da)) ### Features * **capabilities:** add capabilities on get one projection ([#1221](#1221)) ([0909eaf](0909eaf)) * **native-query:** execute chart query requests ([#1225](#1225)) ([84b26dd](84b26dd))
🎉 This PR is included in version 1.56.0 🎉 The release is available on npm package (@latest dist-tag) Your semantic-release bot 📦🚀 |
🎉 This PR is included in version 1.57.0 🎉 The release is available on npm package (@latest dist-tag) Your semantic-release bot 📦🚀 |
🎉 This PR is included in version 1.1.42 🎉 The release is available on npm package (@latest dist-tag) Your semantic-release bot 📦🚀 |
🎉 This PR is included in version 1.8.7 🎉 The release is available on npm package (@latest dist-tag) Your semantic-release bot 📦🚀 |
🎉 This PR is included in version 1.45.0 🎉 The release is available on npm package (@latest dist-tag) Your semantic-release bot 📦🚀 |
🎉 This PR is included in version 1.36.0 🎉 The release is available on npm package (@latest dist-tag) Your semantic-release bot 📦🚀 |
🎉 This PR is included in version 1.4.10 🎉 The release is available on npm package (@latest dist-tag) Your semantic-release bot 📦🚀 |
🎉 This PR is included in version 1.4.0 🎉 The release is available on npm package (@latest dist-tag) Your semantic-release bot 📦🚀 |
linked to: CU-86c173ay7
Definition of Done
General
Security