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

Fix (#1079) crash when generating schema for field with UUID choices. #1080

Merged
merged 1 commit into from
Sep 21, 2023

Conversation

phb-teleclinic
Copy link
Contributor

The crash was fixed by replacing the JSON encoder used to hash elements for enum deduplication with DRF JSON encoder which is capable of handling type outside of the usual JSON standard types.

…choices.

The crash was fixed by replacing the JSON encoder used to hash elements
for enum deduplication with DRF JSON encoder which is capable of handling
type outside of the usual JSON standard types.
@codecov
Copy link

codecov bot commented Sep 21, 2023

Codecov Report

Patch coverage: 100.00% and no project coverage change.

Comparison is base (933f7b7) 98.57% compared to head (1e8b172) 98.57%.

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #1080   +/-   ##
=======================================
  Coverage   98.57%   98.57%           
=======================================
  Files          68       68           
  Lines        8417     8428   +11     
=======================================
+ Hits         8297     8308   +11     
  Misses        120      120           
Files Changed Coverage Δ
drf_spectacular/plumbing.py 97.07% <100.00%> (+<0.01%) ⬆️
tests/test_postprocessing.py 100.00% <100.00%> (ø)

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

@tfranzel tfranzel merged commit 7c3a9ad into tfranzel:master Sep 21, 2023
32 checks passed
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.

2 participants