populationgenomics / metamist

Sample level metadata system
MIT License
1 stars 1 forks source link

Fix OpenApi type generation for project roles #861

Closed dancoates closed 2 months ago

dancoates commented 2 months ago

Looks like pydantic/fastapi don't correctly handle usage of field serializers for int based enums being converted to strings, this switches to using a StrEnum instead.

codecov[bot] commented 2 months ago

Codecov Report

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

Project coverage is 80.49%. Comparing base (c8402e4) to head (cb152c4). Report is 1 commits behind head on dev.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## dev #861 +/- ## ======================================= Coverage 80.49% 80.49% ======================================= Files 172 172 Lines 14542 14538 -4 ======================================= - Hits 11705 11702 -3 + Misses 2837 2836 -1 ```

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