Skip to content

Conversation

@sabhas
Copy link
Member

@sabhas sabhas commented May 1, 2023

Issue

closes #359

Intent

  • AutoIncrement from mongoose-sequence is causing problems with Azure's cosmosDB. Replace mongoose-sequence with custom logic

Implementation

  • Added a utility function and pre-save hook for auto increment of ids

Checks

  • Code is formatted correctly (npm run lint:fix).
  • Any new functionality has been unit tested.
  • All unit tests are passing (npm test).
  • All CI checks are green.
  • Reviewer is assigned.

@allanbowe allanbowe merged commit 4542889 into main May 1, 2023
@allanbowe allanbowe deleted the remove-mongoose-sequence branch May 1, 2023 15:28
@sasjsbot
Copy link

sasjsbot commented May 1, 2023

🎉 This PR is included in version 0.34.2 🎉

The release is available on:

Your semantic-release bot 📦🚀

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

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

COSMOS DB support for new users

4 participants