Skip to content

Improve deprecation warning for id properties without annotation [DATAES-989] #1562

Closed
@spring-projects-issues

Description

@spring-projects-issues

sothawo opened DATAES-989 and commented

Currently it is possible define an Id property of an entity by just naming the property id or document. This is deprecated as of version 4.1. The warning about the property name is also logged for the Id property of nested objects.

 

This should be changed so that the logging is only done for Entities that are annotated with @Document


Referenced from: pull request #563

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions