What is the use of a base filter in Ash?

What is the use of a base filter in ASH? . I have gone through the docs and i haven’t found any case examples.

A base filter is applied to all read actions in all cases. The most common example would be for a resource that is “soft deleted”, so you might have base_filter expr(is_nil(deleted_at))

3 Likes