-
Notifications
You must be signed in to change notification settings - Fork 248
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Change the relation between IG and ResourceMetadata to Many-to-many. Address DB PR review changes. #1777
Conversation
8f87fc7
to
ec17df7
Compare
ec17df7
to
06246a9
Compare
.../java/com/google/android/fhir/implementationguide/db/impl/entities/ResourceMetadataEntity.kt
Outdated
Show resolved
Hide resolved
...va/com/google/android/fhir/implementationguide/db/impl/entities/ImplementationGuideEntity.kt
Outdated
Show resolved
Hide resolved
...va/com/google/android/fhir/implementationguide/db/impl/entities/ImplementationGuideEntity.kt
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.
Nice changes @ktarasenko ! Left a few comments (mostly nits) and questions
...main/java/com/google/android/fhir/implementationguide/db/impl/ImplementationGuideDatabase.kt
Outdated
Show resolved
Hide resolved
.../java/com/google/android/fhir/implementationguide/db/impl/entities/ResourceMetadataEntity.kt
Outdated
Show resolved
Hide resolved
...va/com/google/android/fhir/implementationguide/db/impl/entities/ImplementationGuideEntity.kt
Outdated
Show resolved
Hide resolved
...va/com/google/android/fhir/implementationguide/db/impl/entities/ImplementationGuideEntity.kt
Outdated
Show resolved
Hide resolved
...va/com/google/android/fhir/implementationguide/db/impl/entities/ImplementationGuideEntity.kt
Outdated
Show resolved
Hide resolved
...va/com/google/android/fhir/implementationguide/db/impl/entities/ImplementationGuideEntity.kt
Outdated
Show resolved
Hide resolved
.../java/com/google/android/fhir/implementationguide/db/impl/entities/ResourceMetadataEntity.kt
Outdated
Show resolved
Hide resolved
...main/java/com/google/android/fhir/implementationguide/db/impl/entities/IgResourceCrossRef.kt
Outdated
Show resolved
Hide resolved
.../main/java/com/google/android/fhir/implementationguide/db/impl/dao/ImplementationGuideDao.kt
Outdated
Show resolved
Hide resolved
.../main/java/com/google/android/fhir/implementationguide/db/impl/dao/ImplementationGuideDao.kt
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.
Just a couple of minor nits!
...main/java/com/google/android/fhir/implementationguide/db/impl/ImplementationGuideDatabase.kt
Outdated
Show resolved
Hide resolved
.../java/com/google/android/fhir/implementationguide/db/impl/entities/ResourceMetadataEntity.kt
Outdated
Show resolved
Hide resolved
.../main/java/com/google/android/fhir/implementationguide/db/impl/dao/ImplementationGuideDao.kt
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.
Great change!! 👌
Comments on Jing's review have been resolved by Kostia. Dismissing to allow this PR to be merged
IMPORTANT: All PRs must be linked to an issue (except for extremely trivial and straightforward changes).
Switch to many-to-many relationship between IGs and ResourceMetadata to avoid potential duplications if the same resource is contained by multiple IGs.
Followup review changes for #1731
Checklist
./gradlew spotlessApply
and./gradlew spotlessCheck
to check my code follows the style guide of this project../gradlew check
and./gradlew connectedCheck
to test my changes locally.