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

AttributeTypeHandler: allow bare types #541

Merged
merged 2 commits into from Jun 24, 2021
Merged

AttributeTypeHandler: allow bare types #541

merged 2 commits into from Jun 24, 2021

Conversation

tefra
Copy link
Owner

@tefra tefra commented Jun 24, 2021

resolves #540

This is one of the oldest hacks in the code generation process. I guess I could't figure out how certain types weren't flattened and weren't generated either. It turns out I didn't set the default base type for xs:attributes.

@sonarcloud
Copy link

sonarcloud bot commented Jun 24, 2021

Kudos, SonarCloud Quality Gate passed!

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

@codecov
Copy link

codecov bot commented Jun 24, 2021

Codecov Report

Merging #541 (717f672) into master (b81cb9a) will not change coverage.
The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff            @@
##            master      #541   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files           94        94           
  Lines         7689      7693    +4     
  Branches      1328      1329    +1     
=========================================
+ Hits          7689      7693    +4     
Impacted Files Coverage Δ
xsdata/codegen/handlers/attribute_type.py 100.00% <100.00%> (ø)
xsdata/models/xsd.py 100.00% <100.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update b81cb9a...717f672. Read the comment docs.

@tefra tefra merged commit 783e0d3 into master Jun 24, 2021
@tefra tefra deleted the issue-540 branch June 24, 2021 14:10
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.

object type instead of generated type
1 participant