arangodb / arangodb/spring-data

ID/Key generation based on annotation

Open
#19 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
Java
Stars
116
Forks
57
PR merge metrics
No merged PRs in 30d

Description

It would be beneficial to have an annotation to generate _key (and therefore _id) values based on some criteria defined in there. Take Couchbase implementation for example - it's fairly simple to use, fairly well built and makes the schema very flexible without a necessity to duplicate code.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reading the linked Couchbase autokeygeneration.adoc example and then inspect the repository's existing handling of _key and _id values. Define the annotation's criteria and integration points before determining how generated identifiers should be validated and tested.

Written by the indexing model from the issue text.

Assessment

Tech stack
java, spring
Domain
database
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.