Skip to content

Conversation

@jeremystretch
Copy link
Member

Fixes: #15133

Adds NestedFHRPGroupSerializer on NestedFHRPGroupAssignmentSerializer to ensure proper representation of the assigned FHRP group

@jeremystretch jeremystretch merged commit 12d830b into develop Feb 13, 2024
@jeremystretch jeremystretch deleted the 15133-fix-fhrp-group-assignment-api branch February 13, 2024 16:29
jeremystretch added a commit that referenced this pull request Feb 13, 2024
…nder brief mode (#15134)

* Fixes #15133: Fix FHRP group representation on assignments endpoint under brief mode

* Update API test
jeremystretch added a commit that referenced this pull request Feb 14, 2024
…ds (#15122)

* Enable dynamic field inclusion for REST API serializers

* Recurse through nested serializer when resolving prefetches

* Remove obsolete calls to prefetch_related() for API views

* Remove support for brief_prefetch_fields viewset attribute

* Rename query parameter

* Fixes #15133: Fix FHRP group representation on assignments endpoint under brief mode (#15134)

* Fixes #15133: Fix FHRP group representation on assignments endpoint under brief mode

* Update API test

* Restore get_queryset() on BriefModeMixin, minus prefetch logic

* get_prefetches_for_serializer() should reference serializer field source if set
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 15, 2024
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.

FHRP group ID is misrepresented on the group assignments API endpoint when brief mode is used

3 participants