SidoBytes
Explore posts from serversadding asp.net constaint on the class object field
i will make it so only "Medecin" can create a consultation,
so i want to add validation that when you create a consultation then the User.role must be "Medecin"
(of corse i will do permissions for routes, but thats application level validation)
5 replies
MModular
•Created by SidoBytes on 11/24/2024 in #questions
does mojo have access modifiers
can i specify its a memebr is public or private or like rust i can do
pub(super)
or pub(crate)
87 replies