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
Optional attributes for transport connection_info often have default values. Currently this requires calling out the default value in the desc string and defining a fallback calculation in code, leading to duplication at best and inconsistency at worst.
Describe the Solution You Would Like
Define a default: key equivalent to the attributes in types.
The text was updated successfully, but these errors were encountered:
Add the ability to specify a default to transport connection_info
attributes which will be used in the event no value for the given
connection_info attribute is provided.
seanmil
added a commit
to seanmil/puppet-resource_api
that referenced
this issue
Jan 12, 2022
Add the ability to specify a default to transport connection_info
attributes which will be used in the event no value for the given
connection_info attribute is provided.
Add the ability to specify a default to transport connection_info
attributes which will be used in the event no value for the given
connection_info attribute is provided.
Use Case
Optional attributes for transport
connection_info
often have default values. Currently this requires calling out the default value in the desc string and defining a fallback calculation in code, leading to duplication at best and inconsistency at worst.Describe the Solution You Would Like
Define a
default:
key equivalent to theattributes
in types.The text was updated successfully, but these errors were encountered: