Merge remote-tracking branch 'origin/GP-0_Dan_schemaVisibility' into patch

This commit is contained in:
Ryan Kurtz 2023-08-09 13:15:59 -04:00
commit e557e40f99
2 changed files with 33 additions and 1 deletions

View file

@ -907,7 +907,9 @@ public interface TargetObjectSchema {
return false;
}
AttributeSchema schema = getAttributeSchema(key);
if (schema == AttributeSchema.DEFAULT_ANY || schema == AttributeSchema.DEFAULT_OBJECT) {
if (schema == AttributeSchema.DEFAULT_ANY ||
schema == AttributeSchema.DEFAULT_OBJECT ||
schema == AttributeSchema.DEFAULT_VOID) {
// FIXME: Remove this hack once we stop depending on this prefix
return key.startsWith(TargetObject.PREFIX_INVISIBLE);
}