Skip to content
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

fix: Warn instead of crashing when schema helpers cannot append null to types #1970

Conversation

edgarrmondragon
Copy link
Collaborator

@edgarrmondragon edgarrmondragon commented Sep 18, 2023

Closes #1969


📚 Documentation preview 📚: https://meltano-sdk--1970.org.readthedocs.build/en/1970/

@codecov
Copy link

codecov bot commented Sep 18, 2023

Codecov Report

Merging #1970 (8edc2ec) into main (68be7ce) will increase coverage by 0.07%.
The diff coverage is 100.00%.

❗ Current head 8edc2ec differs from pull request most recent head 490f5fe. Consider uploading reports for the commit 490f5fe to get more accurate results

@@            Coverage Diff             @@
##             main    #1970      +/-   ##
==========================================
+ Coverage   87.08%   87.16%   +0.07%     
==========================================
  Files          59       59              
  Lines        5112     5120       +8     
  Branches      827      827              
==========================================
+ Hits         4452     4463      +11     
+ Misses        465      463       -2     
+ Partials      195      194       -1     
Files Changed Coverage Δ
singer_sdk/helpers/_typing.py 72.16% <100.00%> (+1.69%) ⬆️
singer_sdk/typing.py 97.08% <100.00%> (+0.07%) ⬆️

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@edgarrmondragon edgarrmondragon changed the title fix: Warn and not fail when schema helpers can not append null to types fix: Warn instead of crashing when schema helpers cannot append null to types Sep 18, 2023
edgarrmondragon and others added 3 commits September 19, 2023 09:38
…fields-in-json-schema-helpers-should-only-warn-not-crash-the-tap
…fields-in-json-schema-helpers-should-only-warn-not-crash-the-tap
…fields-in-json-schema-helpers-should-only-warn-not-crash-the-tap
@edgarrmondragon edgarrmondragon added this pull request to the merge queue Sep 22, 2023
Merged via the queue into main with commit bb98db5 Sep 22, 2023
21 checks passed
@edgarrmondragon edgarrmondragon deleted the 1969-bug-trying-to-append-null-for-optional-fields-in-json-schema-helpers-should-only-warn-not-crash-the-tap branch September 22, 2023 14:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

bug: Trying to append null for optional fields in JSON schema helpers should only warn, not crash the tap
2 participants