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

feature: merge nested arrays #101

Merged
merged 1 commit into from
Nov 11, 2024
Merged

Conversation

losisin
Copy link
Owner

@losisin losisin commented Nov 11, 2024

When sequence node has items that are arrays, we assumed that those arrays have same set of elements so only the first item was analysed. Now, that is no longer the case and all those arrays are merged into single one before determining their types.

closes #99

When sequence node has items that are arrays, we assumed that those arrays have same set of elements so only the first item was analysed. Now, that is no longer the case and all those arrays are merged into single one before determining their types.

closes #99

Signed-off-by: Aleksandar Stojanov <[email protected]>
Copy link

codecov bot commented Nov 11, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 99.09%. Comparing base (82462e6) to head (74bdd3b).
Report is 3 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #101      +/-   ##
==========================================
+ Coverage   99.08%   99.09%   +0.01%     
==========================================
  Files           6        6              
  Lines         653      659       +6     
==========================================
+ Hits          647      653       +6     
  Misses          4        4              
  Partials        2        2              
Flag Coverage Δ
unittests 99.09% <100.00%> (+0.01%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@losisin losisin merged commit aed914b into main Nov 11, 2024
3 checks passed
@losisin losisin deleted the fix/merge-items-from-nested-arrays branch November 11, 2024 11:19
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.

Schema entries not generated for two arrays with different items
1 participant