Upgrade to Spring Boot 2.7 RC1.
Remove unneeded version properties. Move off deprecated config properties. Adopt to flapdoodle deprecations. See #636
This commit is contained in:
committed by
Greg L. Turnquist
parent
a73d74a76d
commit
2eae935af8
@@ -124,7 +124,7 @@ class FluentMongoApiTests {
|
||||
@Test
|
||||
void fetchInterfaceProjection() {
|
||||
|
||||
var anakin = mongoOps.query(SWCharacter.class) // SWCharacter does only define the collection, id and name
|
||||
var anakin = mongoOps.query(Jedi.class) // SWCharacter does only define the collection, id and name
|
||||
.as(Sith.class) // use an interface as return type to create a projection
|
||||
.matching(query(where("firstname").is("anakin"))) // so properties are taken as is
|
||||
.oneValue();
|
||||
|
||||
Reference in New Issue
Block a user