Currently the code doesn't allow passing in the current human user (ie when the user has set "Me" as a filter.
At first look it seems like this would resolve this correctly
def _create_filter_array(
..........
if isinstance(value, dict):
if value.get("valid") == "parent_entity_token":
return [path, relation, parent_entity]
**elif value.get("valid") == "logged_in_user_token":
return [path, relation, currentHumandUser]**
currentHumanUser would be of format ie {"type": "HumanUser", "id": 88}
Currently the code doesn't allow passing in the current human user (ie when the user has set "Me" as a filter.
At first look it seems like this would resolve this correctly
currentHumanUser would be of format ie {"type": "HumanUser", "id": 88}