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
With the possible exception of a small set of well-known options like name, we should not default to interpreting top-level keys as option names and inserting them as options. Instead we should just require a top level options: key.
Consider the scenario where we want to define a common structure using YAML's merge syntax:
This will be interpreted as defining an option called some_stuff with the value of an array, which is probably not what we want. We should be able to do this instead:
With the possible exception of a small set of well-known options like
name
, we should not default to interpreting top-level keys as option names and inserting them as options. Instead we should just require a top leveloptions:
key.Consider the scenario where we want to define a common structure using YAML's merge syntax:
This will be interpreted as defining an option called
some_stuff
with the value of an array, which is probably not what we want. We should be able to do this instead:...which will only define
combined_stuff
andother_stuff
as options.The text was updated successfully, but these errors were encountered: