Skip to content
This repository has been archived by the owner on Mar 31, 2022. It is now read-only.

Incorrect processing of multiple AutoMappedField annotations within single mapping method #69

Closed
Gavrilov-Ivan opened this issue Jun 29, 2021 · 1 comment
Assignees
Labels
type: bug Something isn't working
Milestone

Comments

@Gavrilov-Ivan
Copy link
Contributor

Gavrilov-Ivan commented Jun 29, 2021

In case of multiple AutoMappedField annotations system extracts single container annotation instead of multiple target ones.
Suggested to use Spring MergedAnnotations to extract target annotations.
WA: distribute multiple annotations between multiple methods.

Testing:

  1. Configure index definition with multiple AutoMappedField annotations (with different properties) on single method
  2. ER: all properties are present in index mapping
@maistrenkoIulia
Copy link

verified

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
type: bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants