ecto_soft_delete
ecto_soft_delete copied to clipboard
Include soft_deletable? check in with_undeleted function
This MR includes the following changes:
- Include
soft_deletable?
check inwith_undeleted
function to filter only the records that have adeleted_at
field. - Add support for Ecto.SubQuery in
get_schema_module
function to correctly identify the schema of a subquery. - Adds tests for the
with_undeleted
andsoft_deletable?
to ensure proper functionality.
This MR improves the ability to handle soft deletion in the application and increases the test coverage for these functions.
FYI, there appears to be an issue with CI but it doesnt look like tests are actually failing
Thank you! ❤️