Skip to content

Generic properties created and modified for all resources #75

@kba

Description

@kba

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions