Skip to content

Commit

Permalink
fix(setting) Update seting constraint to work with false values
Browse files Browse the repository at this point in the history
  • Loading branch information
MrAnyx committed Dec 15, 2024
1 parent 85fadba commit d9873af
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/DTO/SettingDTO.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ class SettingDTO
#[Groups(['write:setting:user'])]
public SettingName $name;

#[Assert\NotBlank]
#[Assert\NotNull]
#[Groups(['write:setting:user'])]
public mixed $value;
}

0 comments on commit d9873af

Please sign in to comment.