Releases: olivierwilkinson/prisma-nested-middleware
v4.0.0
4.0.0 (2024-01-13)
Features
- avoid multiple types of select calls (36c5410)
BREAKING CHANGES
- remove the calls for include selects
Middleware that relied on calls with the "select" action for select
objects within an include will no longer be able to use that call.
Instead use the parent "include" action to modify the selected fields,
or use the "select" action for the relation within that select object.
v3.0.3
v3.0.2
v3.0.1
v3.0.0
3.0.0 (2023-03-28)
Features
- new scope, actions and full concurrency (e37323d)
BREAKING CHANGES
-
scope is no longer the parent params and relation has
been moved to live inside of the scope object. -
nested create actions no longer have their
args
moved toargs.data
.
When handling thecreate
action you must handle this case yourself.
A more detailed explanation as to why this was necessar can be found in
this issue
v2.3.0
v2.2.0
v2.1.0
v2.0.0
2.0.0 (2023-02-07)
Features
- put nested create args in data field (bbca4e6)
BREAKING CHANGES
- nested creates params.args have new format
Middleware that currently check for the existence of params.scope and
then modify args are broken by this change. Middleware must now modify
args.data for all create operations regardless of whether they are
nested or not.