Afform name to camel/kebab case conversion can't be reversed
Currently our policy is that an afform can have any name, e.g. my_superGroovy-form.aff.html
. This gets converted to a directive named mySuperGroovyForm
and a tag named my-super-groovy-form
. So far so good, but when we try to reverse-lookup the dependency by scanning some other afform that embeds this afform, it breaks down, as scraping my-super-groovy-form
from a piece of html doesn't tell us the canonical name of the afform.