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
I was scouting around the code base and was unable to find a readonly or immutable class method or include for defining a readonly resource.
Is this something available currently?
If not, I think a simple solution might be to override the save method and raise an ResourceImmutableError. Would appreciate if you can think of any side effects of that off the top of your head.
The text was updated successfully, but these errors were encountered:
I was scouting around the code base and was unable to find a
readonly
orimmutable
class method or include for defining a readonly resource.Is this something available currently?
If not, I think a simple solution might be to override the save method and raise an ResourceImmutableError. Would appreciate if you can think of any side effects of that off the top of your head.
The text was updated successfully, but these errors were encountered: