You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Could be done via a soft delete feature with a deletedAt properties and why not a isDeleted getter.
I think you mentioned another solution that might be better to handle the usecase... feel free to edit the title of this issue to better reflect the issue we're trying to solve here.
This title is too precise and emphasize a possible solution and not the actual issue.
On Api V4: https://api.dismoi.io/v4 it would be rather easy to add such filters, see api-platform documentation:
https://api-platform.com/docs/core/filters/#search-filter
But first we must add 2 properties on the
MatchingContext
entity. Take example on theNotice
entity:https://github.com/dis-moi/backend/blob/master/src/Entity/Notice.php#L257-L282
Then some logic must be aded to update both dates, again you may take example on the
NoticeListener
, see the listener and the required annotation :https://github.com/dis-moi/backend/blob/master/src/Entity/Notice.php#L33
The text was updated successfully, but these errors were encountered: