-
Notifications
You must be signed in to change notification settings - Fork 51
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
feat: Add support for adding of relational fields #1766
feat: Add support for adding of relational fields #1766
Conversation
Will be used by the db package too shortly
e68be5d
to
029c741
Compare
Codecov ReportPatch coverage:
@@ Coverage Diff @@
## develop #1766 +/- ##
===========================================
+ Coverage 75.60% 75.80% +0.20%
===========================================
Files 209 209
Lines 21900 22063 +163
===========================================
+ Hits 16557 16724 +167
+ Misses 4192 4189 -3
+ Partials 1151 1150 -1
Flags with carried forward coverage won't be shown. Click here to find out more.
... and 2 files with indirect coverage changes Continue to review full report in Codecov by Sentry.
|
029c741
to
0372c5a
Compare
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.
LGTM, Good job on the tests!
Cheers :) |
## Relevant issue(s) Resolves sourcenetwork#1747 ## Description Adds support for adding of relational fields to existing schema. It does not add any syntax magic to make this easy, but it does validate that the provided values are valid (this is pretty much all it does). Any magic that we add to make the UX tolerable will need to respect these rules anyway, so no time lost there. Similar to other aspects of the schema migration work, this also does not seek to tidy up the `client.DescriptionFoo` objects, but it does hope to expose and promote that cleanup in the future. Syntax sugar and `client.DescriptionFoo` cleanup can/will be done later. Some hopefully within this release.
Relevant issue(s)
Resolves #1747
Description
Adds support for adding of relational fields to existing schema.
It does not add any syntax magic to make this easy, but it does validate that the provided values are valid (this is pretty much all it does). Any magic that we add to make the UX tolerable will need to respect these rules anyway, so no time lost there.
Similar to other aspects of the schema migration work, this also does not seek to tidy up the
client.DescriptionFoo
objects, but it does hope to expose and promote that cleanup in the future.Syntax sugar and
client.DescriptionFoo
cleanup can/will be done later. Some hopefully within this release.