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:
Mark Paluch
2022-04-26 08:54:45 +02:00
committed by Greg L. Turnquist
parent a73d74a76d
commit 2eae935af8
5 changed files with 12 additions and 23 deletions

View File

@@ -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();