Skip to content
This repository was archived by the owner on Apr 15, 2025. It is now read-only.

fix(partials): support combining exclude and exclude_relational_fields - #437

Merged
RobertCraigie merged 1 commit into
mainfrom
fix/436
Jun 27, 2022
Merged

fix(partials): support combining exclude and exclude_relational_fields#437
RobertCraigie merged 1 commit into
mainfrom
fix/436

Conversation

@RobertCraigie

@RobertCraigie RobertCraigie commented Jun 27, 2022

Copy link
Copy Markdown
Owner

Change Summary

Closes #436

This also enforces that include and exclude_relational_fields=True are mutually exclusive.

Checklist

  • Unit tests for the changes exist
  • Tests pass without significant drop in coverage
  • Documentation reflects changes where applicable
  • Test snapshots have been updated if applicable

Agreement

By submitting this pull request, I confirm that you can use, modify, copy and redistribute this contribution, under the terms of your choice.

@codecov

codecov Bot commented Jun 27, 2022

Copy link
Copy Markdown

Codecov Report

Merging #437 (57282a9) into main (c37ea68) will increase coverage by 0.00%.
The diff coverage is 100.00%.

@@           Coverage Diff           @@
##             main     #437   +/-   ##
=======================================
  Coverage   94.15%   94.16%           
=======================================
  Files         114      114           
  Lines        5865     5874    +9     
  Branches      330      330           
=======================================
+ Hits         5522     5531    +9     
  Misses        303      303           
  Partials       40       40           
Impacted Files Coverage Δ
tests/test_generation/test_partial_types.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 c37ea68...57282a9. Read the comment docs.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Incorrect PartialType fields when using include || exclude and exclude_relational_fields=True

1 participant