-
Notifications
You must be signed in to change notification settings - Fork 692
support for nested properties in PartTree methods #2307
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good, couple of questions -- and I really like the tests.
...va/org/springframework/cloud/gcp/data/datastore/repository/query/PartTreeDatastoreQuery.java
Outdated
Show resolved
Hide resolved
...va/org/springframework/cloud/gcp/data/datastore/repository/query/PartTreeDatastoreQuery.java
Outdated
Show resolved
Hide resolved
...va/org/springframework/cloud/gcp/data/datastore/repository/query/PartTreeDatastoreQuery.java
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Some minor comments, but also notice that the build is red.
Also, please make sure the integration tests and the sample work.
Thanks!
...va/org/springframework/cloud/gcp/data/datastore/repository/query/PartTreeDatastoreQuery.java
Outdated
Show resolved
Hide resolved
DatastorePersistentProperty persistentProperty = (DatastorePersistentProperty) this.datastorePersistentEntity | ||
.getPersistentProperty(part.getProperty().getSegment()); | ||
Iterable<PropertyPath> iterable = () -> part.getProperty().iterator(); | ||
List<DatastorePersistentProperty> properties = |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Put this block into a separate helper private method buildName
like you did for Firestore?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
here we need not only the name, but also the persistent property
Codecov Report
@@ Coverage Diff @@
## master #2307 +/- ##
============================================
- Coverage 80.97% 72.72% -8.26%
+ Complexity 2313 2065 -248
============================================
Files 258 258
Lines 7464 7471 +7
Branches 763 763
============================================
- Hits 6044 5433 -611
- Misses 1100 1689 +589
- Partials 320 349 +29
Continue to review full report at Codecov.
|
Kudos, SonarCloud Quality Gate passed!
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Feel free to merge if all of the integration tests are passing.
fixes #2305