This repository has been archived by the owner on Jan 19, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 693
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Codecov Report
@@ Coverage Diff @@
## master #2105 +/- ##
============================================
- Coverage 80.35% 72.44% -7.92%
+ Complexity 2120 1905 -215
============================================
Files 244 245 +1
Lines 6965 7016 +51
Branches 714 723 +9
============================================
- Hits 5597 5083 -514
- Misses 1069 1593 +524
- Partials 299 340 +41
Continue to review full report at Codecov.
|
dzou
reviewed
Dec 30, 2019
...datastore/src/main/java/org/springframework/cloud/gcp/data/datastore/core/util/LazyUtil.java
Outdated
Show resolved
Hide resolved
...datastore/src/main/java/org/springframework/cloud/gcp/data/datastore/core/util/LazyUtil.java
Outdated
Show resolved
Hide resolved
...datastore/src/main/java/org/springframework/cloud/gcp/data/datastore/core/util/LazyUtil.java
Outdated
Show resolved
Hide resolved
...store/src/main/java/org/springframework/cloud/gcp/data/datastore/core/DatastoreTemplate.java
Show resolved
Hide resolved
...store/src/main/java/org/springframework/cloud/gcp/data/datastore/core/DatastoreTemplate.java
Outdated
Show resolved
Hide resolved
dmitry-s
commented
Jan 2, 2020
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.
from in-person review
...main/java/org/springframework/cloud/gcp/data/datastore/core/mapping/ReferenceCollection.java
Outdated
Show resolved
Hide resolved
...src/test/java/org/springframework/cloud/gcp/data/datastore/it/DatastoreIntegrationTests.java
Outdated
Show resolved
Hide resolved
...src/test/java/org/springframework/cloud/gcp/data/datastore/it/DatastoreIntegrationTests.java
Show resolved
Hide resolved
...src/test/java/org/springframework/cloud/gcp/data/datastore/it/DatastoreIntegrationTests.java
Outdated
Show resolved
Hide resolved
.../test/java/org/springframework/cloud/gcp/data/datastore/it/TransactionalTemplateService.java
Outdated
Show resolved
Hide resolved
...datastore/src/main/java/org/springframework/cloud/gcp/data/datastore/core/util/LazyUtil.java
Outdated
Show resolved
Hide resolved
...datastore/src/main/java/org/springframework/cloud/gcp/data/datastore/core/util/LazyUtil.java
Outdated
Show resolved
Hide resolved
...store/src/main/java/org/springframework/cloud/gcp/data/datastore/core/DatastoreTemplate.java
Outdated
Show resolved
Hide resolved
...store/src/main/java/org/springframework/cloud/gcp/data/datastore/core/DatastoreTemplate.java
Outdated
Show resolved
Hide resolved
...store/src/main/java/org/springframework/cloud/gcp/data/datastore/core/DatastoreTemplate.java
Outdated
Show resolved
Hide resolved
meltsufin
suggested changes
Jan 3, 2020
@@ -425,6 +425,7 @@ There are three ways to represent relationships between entities that are descri | |||
* Embedded entities stored directly in the field of the containing entity | |||
* `@Descendant` annotated properties for one-to-many relationships | |||
* `@Reference` annotated properties for general relationships without hierarchy | |||
* `@LazyReferenceCollection` similar to `@Reference`, but the entities are lazy loaded when the property is accessed (note that the children keys retrieved when the parent entity is loaded) |
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.
Mention that it applies to collections and Optional
?
...store/src/main/java/org/springframework/cloud/gcp/data/datastore/core/DatastoreTemplate.java
Show resolved
Hide resolved
...g/springframework/cloud/gcp/data/datastore/core/mapping/DatastorePersistentPropertyImpl.java
Show resolved
Hide resolved
...-datastore/src/test/java/org/springframework/cloud/gcp/data/datastore/it/ReferenceEntry.java
Show resolved
Hide resolved
Co-Authored-By: Mike Eltsufin <[email protected]>
meltsufin
approved these changes
Jan 6, 2020
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
fixes #2104