2đź‘Ť
âś…
You decide how to represent the notifications.
You could save these type of notifications like that:
“Learning Python, 5th Edition” (actor) was checked out (verb) by a patron in the subject “Computer books” (target)
If you see closer – in that way, your patron becomes an action object
if it was a real entity. But saving it in this way it doesn’t mean that it should be represented in that way. You could render this in the template as you want.
One note from the docs where if you replace query
with render
you will get my point:
Actions are generated in a manner independent of how you wish to query them so they can be queried later to generate different streams based on all possible associations.
👤Todor
Source:stackexchange.com