BigfootDS / supercamo

Camo-inspired ODM for NeDB, built specifically for BigfootDS' needs.
https://bigfootds.github.io/supercamo/
MIT License
1 stars 0 forks source link

feat: uniqueness, document references, and embedded documents basic functionality #9

Closed AlexStormwood closed 6 months ago

AlexStormwood commented 6 months ago

Document references and embedded documents have only been tested for insertOne and findOneDocument operations but that's enough for basic usable work for now.

Uniqueness should be good for standard JS types, but as I type this I realise that I haven't tested it for doc references or embedded documents.

So... this is really a merge just for some basic versions of crucial functionality. More work to come.

github-actions[bot] commented 6 months ago

Thankyou for the pull request!

As a reminder, here's the workflow we're aiming to use in this repository:

  1. Make your work in a branch that is not main or deploy.
  2. When working in your branch, make as many commits as you like in whatever commit syntax you like.
  3. When your work in that branch is ready to merge back into main, make a pull request. <-- You are here
  4. Make sure your pull request has a title that follows conventional commit syntax. Learn more about that here.
  5. If appropriate, tag someone in to your PR and ask them to review your work. Learn more about pull request reviews here. a. If you were requested to do a review of a pull request, you can learn more about performing a review here.
  6. Once the PR title has been approved and the PR has been reviewed (and approved!), you can carry out a "Squash and Merge" merge.

"Squash and merge" means all random commits within your branch will not be shown as separate commits in main. Rather, we'll have one single big commit with a message that matches this PR title. That's why our PR must follow certain rules, while your branch can be totally customised to however you want to work.

Good luck on your latest PR! :smile: