All resources, regardless of their semantics, should have created/modified properties, which should be set, resp. for every POST/PUT request.
This is important for paging (c.f. #74).
Need to decide on good names for those
created and modified
- PRO: Easy to remember
- CON: Can interfere with semantics
_created and modified
- PRO: Clear because underscore-prefixed names are private by convention
- CON: Might interfere with other Monoose plugins or MongoDB conventions (need to investigate)
_mongoosejsonld_created and _mongoosejsonld_created
- PRO: No conflicts possible
- CON: Long and ugly
I'm also open for suggestions @infolis/developers