Skip to content

discuss: how should we automatically generate a primary key for new resource #519

Description

@nic-chen

Please answer these questions before submitting your issue.

  • Why do you submit this issue?
  • Question or discussion
  • Bug
  • Requirements
  • Feature or performance improvement
  • Other

Question

  • What do you want to know?

When creating a new resource, we should automatically generate a primary key value instead of letting the client provide one.

Here is the question:
Should we generate a uuid as the primary key value, or should we use etcd revision as the primary key value like APISIX admin api?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions