-
Notifications
You must be signed in to change notification settings - Fork 51
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Using Archive recipe and filtering #146
Comments
Does |
@lyschoening Actually, that query doesn't work. It seems the inheritance of the
|
@matdrapeau Have you tried just |
@lyschoening no, same error as well without subclassing |
In order to use soft-deletes, I tried to used the recipe (https://potion.readthedocs.io/en/latest/recipes.html#archivingresource) but filtering resources are not working anymore.
Doing such filters are raising errors:
/users?where={"create_date": {"$gt": "2018-06-10T14:56:15-05:00"}}
/users/archive?where={"create_date": {"$gt": "2018-06-10T14:56:15-05:00"}}
I get: ValidationError {'$gt': '2018-06-10T14:56:15-05:00'} is not valid under any of the given schemas
The text was updated successfully, but these errors were encountered: