Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Not happy about the way entity ids work #8

@cddr

Description

@cddr

In order to generate an API where entities are automatically addressable and linkable, id is a required attribute. So users of defentity shouldn't have to specify it on each one. I can imagine one might want to generate IDs in different ways (e.g. uuids vs incrementing integers), but that would be better dealt with in a way that's consistent across the whole app.

So...

  • defentity should generate id attributes implicitly
  • defidentity should provide a schema (and possibly generator for) entity identities

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions