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

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

Merged
merged 2 commits into from
Feb 13, 2024

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
8 checks passed
@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
2 participants