While using this extension, I found a little strange place in createValue.
The createValue method must return a falsy value if the record is not deleted and a truthy value if it is deleted, which is limited the delete field value.
I have a project which is using a enum status "ENABLE" and "DISABLE" to determine the record is delete or not. So it cannot work well with the prisma-extension-soft-delete.
Thus I hope separate delete field values and delete status in config just like:
hi @olivierwilkinson,
While using this extension, I found a little strange place in
createValue
.The createValue method must return a falsy value if the record is not deleted and a truthy value if it is deleted, which is limited the delete field value.
I have a project which is using a enum status "ENABLE" and "DISABLE" to determine the record is delete or not. So it cannot work well with the prisma-extension-soft-delete.
Thus I hope separate delete field values and delete status in config just like: