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
As a part of providing support for Kusto resources, we needed to hande the case where a resource is directly defined as a OneOf object.
Normal handling of OneOf types involves pushing all the properties out to the options (leaves) of the type, but this does not work for the root of a resource as we have certain required properties, starting with Name.
We now have support for this (see PR #4589), but that new stage has been hard coded to promote just the Name property.
There's no other current need to promote other one-of properties to the root - but @super_harsh suggested (correctly!) that we should create an issue to track the hard coded value - see promote_root_oneof_properties.go for all the gory details.
The text was updated successfully, but these errors were encountered:
Describe the current behavior
As a part of providing support for Kusto resources, we needed to hande the case where a resource is directly defined as a OneOf object.
Normal handling of OneOf types involves pushing all the properties out to the options (leaves) of the type, but this does not work for the root of a resource as we have certain required properties, starting with
Name
.We now have support for this (see PR #4589), but that new stage has been hard coded to promote just the
Name
property.There's no other current need to promote other one-of properties to the root - but @super_harsh suggested (correctly!) that we should create an issue to track the hard coded value - see
promote_root_oneof_properties.go
for all the gory details.The text was updated successfully, but these errors were encountered: