Terrible idea: reflection is mostly introspection tooling, and doesn't
really bend the rules of the type system, other than crossing scope (it
"sees" more).

Please consider designing your system to consider the constraints of
`readonly` properties, or design the constraints to fit your system instead.

Marco Pivetta

https://twitter.com/Ocramius

https://ocramius.github.io/


On Sat, 3 Dec 2022 at 23:39, Karoly Negyesi <kar...@negyesi.net> wrote:

> Hello,
>
> If push comes to shove, private properties can be changed with reflection.
>
> Readonly properties can't.
>
> Please add a readonly toggle to reflection.
>
> Thanks
>
> Karoly Negyesi
>

Reply via email to