Now that Meta properties are are getting love, defining them should be made easier. #4136
SilencedPerson
started this conversation in
Scripting
Replies: 1 comment 2 replies
-
Properties do not function the same way as meta properties. They're not featured in the Class definition, they are not guaranteed to exist, and their behaviour is more akin to an intrinsic Dictionary every Object may come with. It's more worth it make that clear with pre-defined functions that manage them. They already can be defined with ease as is. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
#58608 introduced ability to return default value when
meta
property doesn't exits.This makes
meta
properties much more useful especially as flag list or list of properties to be serialized and saved, I would now like to be able to define them with ease much like regular variables. Syntax could go like this:meta name_of_meta_property = true
Beta Was this translation helpful? Give feedback.
All reactions