miniplex icon indicating copy to clipboard operation
miniplex copied to clipboard

New query API: `with`, `without` and friends

Open hmans opened this issue 3 years ago • 2 comments

Checklist:

  • [x] Memoize not, any, all, none
  • [ ] Decide which of these to actually keep
  • [x] Make derive private
  • [x] Find out if we can make Bucket handle non-entities again, somehow
  • [ ] What to do with the React components? Can we further simplify them? Should we retire <Archetype>?
  • [x] ~Find better names for with and without (with is a reserved word, so this can get a little iffy)~
    • bucket.where() and bucket.not()
    • bucket.where() and bucket.whereNot()
    • bucket.where() and bucket.without()
    • bucket.only() and bucket.except()
    • bucket.get() and bucket.reject() (or bucket.not())
    • Nope, sticking with with and without for now.

hmans avatar Oct 19 '22 12:10 hmans

CodeSandbox logoCodeSandbox logo  Open in CodeSandbox Web Editor | VS Code | VS Code Insiders

codesandbox[bot] avatar Oct 19 '22 12:10 codesandbox[bot]

⚠️ No Changeset found

Latest commit: 42ed7a145e5e3500333837065d282ccb4bbd381e

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

changeset-bot[bot] avatar Oct 19 '22 12:10 changeset-bot[bot]