tefra / xsdata

Naive XML & JSON Bindings for python
https://xsdata.readthedocs.io
MIT License
324 stars 59 forks source link

fix: Unnest classes should update inner classes recursively #1047

Closed tefra closed 3 months ago

tefra commented 4 months ago

📒 Description

Forward references can point to inner or outer classes since v24.5, the unnest handler isn't dealing with that, raising errors when unnest classes config is enabled.

Resolves #1046

🔗 What I've Done

Write a description of the steps taken to resolve the issue

💬 Comments

A place to write any comments to the reviewer.

🛫 Checklist

codecov[bot] commented 4 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 100.00%. Comparing base (791a98e) to head (c022af6).

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #1047 +/- ## ========================================= Coverage 100.00% 100.00% ========================================= Files 115 115 Lines 9222 9231 +9 Branches 2178 2178 ========================================= + Hits 9222 9231 +9 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

tefra commented 4 months ago

We have an issue in classes with multiple nested classes with the same name.... sometimes xsd can be so cruel

sonarcloud[bot] commented 3 months ago

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
0.0% Duplication on New Code

See analysis details on SonarCloud