Skip to content

Conversation

@jtrobles-cdd
Copy link
Member

Use it to extend DRF serializers that inherit from ModelSerializer so that Django model fields from cl_sii.extras.dj_model_fields do not have to be explicitly defined in the serializer.

The source code originates from an internal application (see commit 3bea7182 of that application’s source code), and was originally written by Jose Tomas Robles Hahn.

Use it to extend DRF serializers that inherit from `ModelSerializer` so
that Django model fields from `cl_sii.extras.dj_model_fields` do not
have to be explicitly defined in the serializer.

The source code originates from an internal application
(see commit 3bea7182 of that application’s source code),
and was originally written by Jose Tomas Robles Hahn.
@jtrobles-cdd jtrobles-cdd added the enhancement New feature or request label Jul 17, 2024
@jtrobles-cdd jtrobles-cdd self-assigned this Jul 17, 2024
@jtrobles-cdd jtrobles-cdd requested a review from a team as a code owner July 17, 2024 22:30
@sonarqubecloud
Copy link

@jtrobles-cdd jtrobles-cdd requested a review from fpinto-cdd July 17, 2024 22:31
@codecov
Copy link

codecov bot commented Jul 17, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 87.35%. Comparing base (bbb986b) to head (7172718).

Additional details and impacted files
@@             Coverage Diff             @@
##           develop     #663      +/-   ##
===========================================
+ Coverage    87.04%   87.35%   +0.31%     
===========================================
  Files           36       37       +1     
  Lines         3056     3069      +13     
  Branches       379      379              
===========================================
+ Hits          2660     2681      +21     
+ Misses         254      246       -8     
  Partials       142      142              

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

@jtrobles-cdd jtrobles-cdd merged commit ca5325b into develop Jul 17, 2024
@jtrobles-cdd jtrobles-cdd deleted the feature/add-drf-serializer-utils branch July 17, 2024 22:35
@jtrobles-cdd jtrobles-cdd mentioned this pull request Jul 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants