Skip to content

Commit 3effd9a

Browse files
committed
DATAMONGO-2149 - Polishing.
Add ticket reference to follow-up ticket regarding array matching on partial DBRef expressions. Related ticket: DATAMONGO-2154 Original pull request: #623.
1 parent 7002cd1 commit 3effd9a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

spring-data-mongodb/src/main/java/org/springframework/data/mongodb/core/convert/QueryMapper.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -680,7 +680,7 @@ public <T> T getValue() {
680680
/**
681681
*
682682
* @return {@literal true} if key may hold a DbRef.
683-
* @since 2.0.13
683+
* @since 2.1.4
684684
*/
685685
public boolean mayHoldDbRef() {
686686
return !NON_DBREF_CONVERTING_KEYWORDS.contains(key);

spring-data-mongodb/src/test/java/org/springframework/data/mongodb/repository/AbstractPersonRepositoryIntegrationTests.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -1274,7 +1274,7 @@ public void annotatedQueryShouldAllowPositionalParameterInFieldsProjection() {
12741274
assertThat(target.getShippingAddresses()).hasSize(1);
12751275
}
12761276

1277-
@Test // DATAMONGO-2149
1277+
@Test // DATAMONGO-2149, DATAMONGO-2154
12781278
@Ignore("This one fails due to Json parse exception within MongoDB")
12791279
public void annotatedQueryShouldAllowPositionalParameterInFieldsProjectionWithDbRef() {
12801280

0 commit comments

Comments
 (0)