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

Mongo not supported as a data store out of the box? #1335

Open
jukeboxhero123 opened this issue Jan 31, 2024 · 2 comments
Open

Mongo not supported as a data store out of the box? #1335

jukeboxhero123 opened this issue Jan 31, 2024 · 2 comments
Labels
bug Something isn't working data-store pinned don't close this just for being stale triage

Comments

@jukeboxhero123
Copy link

Bug severity
2

Describe the bug
Doesn't seem to be support for mongodb as a data store out of the box. More specifically the migrations in the @veramo/data-store does not run successfully due to mongo having the property of being schema-less.

To Reproduce
Steps to reproduce the behaviour:

  1. Follow steps in Veramo docs to bootstrap an agent: https://veramo.io/docs/node_tutorials/node_setup_identifiers/.
  2. Replace sqlite with mongo in the type ORM DataSource object initialization.
  3. Running the migrations on startup fails.

Observed behaviour
Migrations fail due to mongoDB's schema-less nature.

Expected behaviour
Migrations to run properly or have migrations specific to MongoDB.

Details
Screen Shot 2024-01-31 at 9 50 08 AM

Screen Shot 2024-01-31 at 9 48 19 AM

Versions (please complete the following information):

  • @veramo/data-store: 5.6.0,
  • Node Version 18.17.1
@jukeboxhero123 jukeboxhero123 added the bug Something isn't working label Jan 31, 2024
Copy link

stale bot commented Apr 23, 2024

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the wontfix This will not be worked on label Apr 23, 2024
@stale stale bot closed this as completed May 9, 2024
@mirceanis mirceanis added triage and removed wontfix This will not be worked on labels May 30, 2024
@mirceanis mirceanis reopened this May 30, 2024
Copy link

stale bot commented Aug 4, 2024

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the wontfix This will not be worked on label Aug 4, 2024
@stale stale bot closed this as completed Aug 14, 2024
@mirceanis mirceanis added the pinned don't close this just for being stale label Aug 14, 2024
@mirceanis mirceanis reopened this Aug 14, 2024
@stale stale bot removed the wontfix This will not be worked on label Aug 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working data-store pinned don't close this just for being stale triage
Projects
None yet
Development

No branches or pull requests

3 participants