You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Mar 27, 2026. It is now read-only.
The opacity attribute has an error: A value of type 'double' can’t be assigned to a variable of type 'Percentage'.
Should I somehow use Percentage(1.0) instead of the 1.0 literal? In which case I get the (expected) following error: The default value of an optional parameter must be constant.
Hi (again) 👋
I have this ValueObject implementing a [0.0; 1.0]
doubleinclusive range:Which is leveraged in this kind of modddel factories:
The opacity attribute has an error: A value of type 'double' can’t be assigned to a variable of type 'Percentage'.
Should I somehow use
Percentage(1.0)instead of the1.0literal? In which case I get the (expected) following error: The default value of an optional parameter must be constant.