Uploaded image for project: 'Spring Data MongoDB'
  1. Spring Data MongoDB
  2. DATAMONGO-1094

Wrong reference to @DocumentField in error message

    XMLWordPrintable

    Details

      Description

      Looking through the code, it looks like this message is outdated:

      https://github.com/spring-projects/spring-data-mongodb/blob/master/spring-data-mongodb/src/main/java/org/springframework/data/mongodb/core/mapping/BasicMongoPersistentEntity.java#L56

      I guess it should just refer to the @Field annotation to disambiguate? According to git blame this has been there for quite a while

        Attachments

          Activity

            People

            Assignee:
            thomasd Thomas Darimont
            Reporter:
            daschl Michael Nitschinger
            Last updater:
            Spring Issues Spring Issues
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: