Skip to content

Support multiple annotations used on the same class or field in a native way instead of string concatenation #248

@jxnu-liguobin

Description

@jxnu-liguobin

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

Describe the solution you'd like
customAnnotationsMapping

  val mapping = new util.HashMap[String, Set[String]]

  val annotationsA = new util.HashSet[String]
  val annotationsB = new util.HashSet[String]

  annotationsA.add(annotionA)
  annotationsA.add(annotionB)

  annotationsB.add(annotionC)
  annotationsB.add(annotionD)

  mapping.put(fieldA,  annotationsA)
  mapping.put(fieldB,  annotationsB)

Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.

Additional context
Add any other context or screenshots about the feature request here.

Metadata

Metadata

Assignees

Labels

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions