Provisioning Dashboards to nested folders

Currently Grafana doesn’t provision Dashboards to nested folders, e.g. if in your provisioning file, you put in a folder name like “Services/Databases/Logs”, Grafana will create a single folder at the root named “Services/Databases/Logs” and put the Dashboard there.

But why does it behave differently for Alert groups? If you do exactly the same for alert groups, Grafana will take the string like “Services/Databases/Logs” as a path and provision the alerts there. It will create the folder “Services”, the folder “Databases” as a subdirectory of “Services” and the folder “Logs” as a subdirectory of “Databases”.

Why is this so inconsistent?