Skip to content

Commit 6e3e3e4

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 37b9eb3 commit 6e3e3e4

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
@@ -704,7 +704,7 @@ public <T> T getValue() {
704704
/**
705705
*
706706
* @return {@literal true} if key may hold a DbRef.
707-
* @since 2.0.13
707+
* @since 2.1.4
708708
*/
709709
public boolean mayHoldDbRef() {
710710
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)