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
If we use EQUALS to populate a field property without initializing it as a normal keyword before. FieldPropsManager::has_key will return false for it (because there is no entry in the list of keys).
This might be a feature because because FieldProperty::try_get explicitly caters for the case where the key is missing in the list.
Does anybody know why?
I still have the feeling that has_key should return true even in this case...
The text was updated successfully, but these errors were encountered:
blattms
changed the title
Bug or feature? Field property created only with EQUALS will not cause has_key to return true.
Bug or feature? Field property created only with EQUALS returns false for has_key
Feb 12, 2024
If we use EQUALS to populate a field property without initializing it as a normal keyword before.
FieldPropsManager::has_key
will return false for it (because there is no entry in the list of keys).This might be a feature because because
FieldProperty::try_get
explicitly caters for the case where the key is missing in the list.Does anybody know why?
I still have the feeling that
has_key
should return true even in this case...The text was updated successfully, but these errors were encountered: