Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Annotation processor does not respect @Id and @Property annotation #1271

Closed
shanon84 opened this issue Mar 21, 2024 · 1 comment
Closed

Annotation processor does not respect @Id and @Property annotation #1271

shanon84 opened this issue Mar 21, 2024 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@shanon84
Copy link
Contributor

shanon84 commented Mar 21, 2024

Hey,

if you have the following node class member:

	@Id
	@Property("myOtherIdName")
	private String myId;

the annotation processor generates a constraint for the property "myId" and not "myOtherIdName".

@michael-simons michael-simons self-assigned this Mar 22, 2024
@michael-simons
Copy link
Owner

Nice catch, Torsten, thank you!

This will be fixed in 2.10.0, as this is a breaking change, "normal" properties are not treated correctly either.

@michael-simons michael-simons added the bug Something isn't working label Mar 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants