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

Refactor JsonParser #495

Merged
merged 7 commits into from
May 22, 2021
Merged

Refactor JsonParser #495

merged 7 commits into from
May 22, 2021

Conversation

tefra
Copy link
Owner

@tefra tefra commented May 19, 2021

###Todos

  • Support failing on unknown properties
  • Strict binding process (match types or exit)
  • Enhance DerivedElement support
  • Support required properties (fields without default values)
  • Decrease w3c test suite roundtrip failures
  • Use new typing utils for clazz validation
  • Inject parser config

@codecov
Copy link

codecov bot commented May 19, 2021

Codecov Report

Merging #495 (3b5495a) into master (a24f0d4) will not change coverage.
The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff            @@
##            master      #495   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files           84        84           
  Lines         7386      7436   +50     
  Branches      1328      1339   +11     
=========================================
+ Hits          7386      7436   +50     
Impacted Files Coverage Δ
xsdata/formats/dataclass/filters.py 100.00% <ø> (ø)
xsdata/models/xsd.py 100.00% <ø> (ø)
xsdata/formats/converter.py 100.00% <100.00%> (ø)
xsdata/formats/dataclass/context.py 100.00% <100.00%> (ø)
xsdata/formats/dataclass/models/builders.py 100.00% <100.00%> (ø)
xsdata/formats/dataclass/models/elements.py 100.00% <100.00%> (ø)
xsdata/formats/dataclass/models/generics.py 100.00% <100.00%> (ø)
xsdata/formats/dataclass/parsers/json.py 100.00% <100.00%> (ø)
xsdata/formats/dataclass/parsers/nodes.py 100.00% <100.00%> (ø)
xsdata/formats/dataclass/serializers/xml.py 100.00% <100.00%> (ø)
... and 1 more

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 a24f0d4...3b5495a. Read the comment docs.

@tefra tefra force-pushed the json-parser-v3 branch 12 times, most recently from 67c5d4a to 18b7410 Compare May 21, 2021 21:20
@tefra tefra force-pushed the json-parser-v3 branch 4 times, most recently from 0a9b486 to e1c2d66 Compare May 22, 2021 15:01
@tefra tefra force-pushed the json-parser-v3 branch from e1c2d66 to 77062ad Compare May 22, 2021 15:08
@tefra tefra force-pushed the json-parser-v3 branch 2 times, most recently from 77bcbe1 to ac9da71 Compare May 22, 2021 16:15
@tefra tefra force-pushed the json-parser-v3 branch from ac9da71 to 3b5495a Compare May 22, 2021 16:28
@sonarqubecloud
Copy link

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

@tefra tefra merged commit 038896f into master May 22, 2021
@tefra tefra deleted the json-parser-v3 branch May 22, 2021 16:32
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.

1 participant