You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
Code comments are a basic feature present in every programming language. MongoDB migrations are written in JSON format. That's why one can't simply write comments to make the migration code more readable. It might be super handy to provide some context, examples, and notes for a complex migration script.
Describe the solution you'd like
Support JSON extension like JSONC or JSON5.
Describe alternatives you've considered
adding $comment to the migration query. It's not that convenient (e.g. long multi-line descriptions will look ugly)
writing migrations in JSONC and convert to JSON files before applying.
Additional context
The text was updated successfully, but these errors were encountered:
Is your feature request related to a problem? Please describe.
Code comments are a basic feature present in every programming language. MongoDB migrations are written in JSON format. That's why one can't simply write comments to make the migration code more readable. It might be super handy to provide some context, examples, and notes for a complex migration script.
Describe the solution you'd like
Support JSON extension like JSONC or JSON5.
Describe alternatives you've considered
Additional context
The text was updated successfully, but these errors were encountered: