mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-07 18:44:08 +00:00
fix modification of key members in household normalization
This commit is contained in:
parent
fd7c7388d9
commit
27907e7558
@ -48,7 +48,7 @@ class Household
|
||||
* targetEntity=HouseholdMember::class,
|
||||
* mappedBy="household"
|
||||
* )
|
||||
* @Serializer\Groups({"write"})
|
||||
* @Serializer\Groups({"write", "read"})
|
||||
*/
|
||||
private Collection $members;
|
||||
|
||||
@ -129,10 +129,6 @@ class Household
|
||||
return $this->members;
|
||||
}
|
||||
|
||||
/**
|
||||
* @Serializer\Groups({ "read" })
|
||||
* @Serializer\SerializedName("current_members")
|
||||
*/
|
||||
public function getCurrentMembers(?\DateTimeImmutable $now = null): Collection
|
||||
{
|
||||
$criteria = new Criteria();
|
||||
|
Loading…
x
Reference in New Issue
Block a user