I suppose it’s not uncommon to want multiple fields of the same name within a module, especially with something short like name
. In general, working with unprefixed field names is quite annoying without NoFieldSelectors
, which has been around for a few years now, but I get the impression* it hasn’t been that widely used. And to be fair, converting a large pre-existing codebase to that style could be a lot of work for a pretty small payoff.
* I’d be interested in firm numbers, but alas.