Skip to content

added: option to generate a mongodb ObjectId.#70

Open
DaNeubi wants to merge 1 commit intoDevToys-app:mainfrom
DaNeubi:mongodb-uuid-generator-tool
Open

added: option to generate a mongodb ObjectId.#70
DaNeubi wants to merge 1 commit intoDevToys-app:mainfrom
DaNeubi:mongodb-uuid-generator-tool

Conversation

@DaNeubi
Copy link

@DaNeubi DaNeubi commented Mar 20, 2025

Added a option to the UUID Generator to generate a MongoDB ObjectId

Please check the type of change your PR introduces:

  • Bugfix
  • New feature or enhancement
  • UI change (please include screenshot!)
  • Code style update (formatting, renaming)
  • Refactoring (no functional changes, no api changes)
  • Build related changes
  • Documentation content changes
  • Internationalization and localization
  • Other (please describe):

What is the current behavior?

UUID-Generator has 3 types to generate.
1, 4 (GUID) and 7

Issue Number: N/A

What is the new behavior?

  • Added a new Entry to choose from called ObjectId (MongoDB)
  • Added methods to generate the ObjectId based on the current MongoDB documentation
  • Because of the ObjectId not using hyphens, the hyphen toggle is ignored
  • Updated the localization files with the new string

Other information

Image before:
DevToys_E2kcm2q8BP

Image after:
DevToys_r8coIOgTh0

Quality check

Before creating this PR:

  • Did you follow the code style guideline as described in CONTRIBUTING.md
  • Did you build the app and test your changes?
  • Did you check for accessibility? On Windows, you can use Accessibility Insights for this.
  • X ] Did you verify that the change work in Release build configuration
  • Did you verify that all unit tests pass
  • If necessary and if possible, did you verify your changes on:
    • Windows
    • macOS
    • Linux

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant