-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
experimental mutations version with boolean expressions (#393)
### What We introduce a new experimental mutations version. This version is intended to be used as a WIP version not for public consumption. It also introduces an update delete mutation that contains a `filter` predicate field. <!-- Consider: do we need to add a changelog entry? --> ### How 1. Introduce a new mutations version: `VeryExperimentalWip`. 2. Take the existing `insert`, `delete`, `translate` and `generate` modules, duplicate them, and place them in `v1/` and `experimental/` directories. 3. Add and modify existing code to dispatch on operations from the right module according to the mutations version in the config. 4. Add a new `filter` field for the delete operation which will be interpreted as a boolean expression and added as a `WHERE` clause in the delete sql. 5. Expose this new field as part of the schema as a boolean expression over the collection.
- Loading branch information
Gil Mizrahi
authored
Apr 1, 2024
1 parent
5ec39c0
commit 8ee6d48
Showing
27 changed files
with
1,305 additions
and
492 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.