-
Notifications
You must be signed in to change notification settings - Fork 4.4k
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
Remove additionalProperties: false
from all connector specs
#14196
Comments
@grishick fyi, this is followup to https://docs.google.com/document/d/1ru9ApRI7fGtv5gNECchsQe6EB20LlY4UZhJOtEHvOAw/edit# |
@edgao would it make sense to address this connector by connector starting with GA and Beta connectors? |
probably, yes. I think the ideal ordering is:
Publishing the image is less urgent/important because it only matters if users downgrade the connector. The "remove property + upgrade" case (i.e. what's described in this issue's description) doesn't require a publish. |
@sherifnada are you OK with the approach @edgao suggested? |
cc @girarda @pedroslopez -- thoughts? |
yes - it's safe to set additionalProperties to true. i think this is a great occasion to try publishing multiple connectors at once |
Looks good to me, and good call out from @girarda - we can publish multiple connectors at the same time now so step 2 shouldn't require separate PRs per connector. I will note that @Phlair recently tried to publish all the java connectors and ran into some issues #13947 - starting with the GA/betas seems fine. |
A search for |
We need to add to the assertion the exact place in schema where the |
@bazarnov could you clarify what you're looking for? This issue is specifically for removing the |
Thanks for the question, at present, the value of this setting is obvious, no need to dive into a subject. For all other future and current validation implementations based on checks of specific properties in schemas or input specifications, it would be nice to have the logging message where the issue occurred and what was expected (if applicable to the case). Giving the general messages like in this test, not always playing good role for debugging purposes. |
* Added parameter 'start_date' in Okta source added: parameter 'start_date' to source Okta changed: unit tests * changes: fix in the case of ISSUE: #14196 * Okta documentation in new format * changes: fix to use super() instead of instance of stream parent * changes: additional changes into OKTA documentaton * changes: switch release to beta * changed: set dockerImageTag -> 0.1.11 * changed: source_specs * ... * ... * Rollback releaseStage * Refactored start date logic * Deleted microseconds from state * Add start date to all streams * Updated to linter * Fixed unit tests * Updated unit tests * auto-bump connector version [ci skip] Co-authored-by: Serhii <serglazebny@gmail.com> Co-authored-by: Octavia Squidington III <octavia-squidington-iii@users.noreply.github.com>
* refactor for api layer * changelog * Reverts variable name for backwards compatability tests & sets additionalProperties: true in reference to #14196. * fix: bump dockerfile * fix: update changelog version to match Dockerfile * fix: actually update changelog version to match Dockerfile * auto-bump connector version [ci skip] Co-authored-by: Nataly Merezhuk <65251165+natalyjazzviolin@users.noreply.github.com> Co-authored-by: Sajarin <sajarindider@gmail.com> Co-authored-by: nataly <nataly@airbyte.io> Co-authored-by: Octavia Squidington III <octavia-squidington-iii@users.noreply.github.com>
* refactor for api layer * changelog * Reverts variable name for backwards compatability tests & sets additionalProperties: true in reference to airbytehq#14196. * fix: bump dockerfile * fix: update changelog version to match Dockerfile * fix: actually update changelog version to match Dockerfile * auto-bump connector version [ci skip] Co-authored-by: Nataly Merezhuk <65251165+natalyjazzviolin@users.noreply.github.com> Co-authored-by: Sajarin <sajarindider@gmail.com> Co-authored-by: nataly <nataly@airbyte.io> Co-authored-by: Octavia Squidington III <octavia-squidington-iii@users.noreply.github.com>
* refactor for api layer * changelog * Reverts variable name for backwards compatability tests & sets additionalProperties: true in reference to airbytehq#14196. * fix: bump dockerfile * fix: update changelog version to match Dockerfile * fix: actually update changelog version to match Dockerfile * auto-bump connector version [ci skip] Co-authored-by: Nataly Merezhuk <65251165+natalyjazzviolin@users.noreply.github.com> Co-authored-by: Sajarin <sajarindider@gmail.com> Co-authored-by: nataly <nataly@airbyte.io> Co-authored-by: Octavia Squidington III <octavia-squidington-iii@users.noreply.github.com>
I think this epic is able to be closed |
As discovered in https://github.com/airbytehq/oncall/issues/289, a spec declaring
"additionalProperties": false
introduces the risk of accidental breaking changes. Specifically, when removing a property from the spec, existing connector configs will no longer be valid.We should remove that declaration from all connector specs.
Until this issue is resolved, we should be careful when removing/renaming properties.
The text was updated successfully, but these errors were encountered: