Stream: committers
Topic: Limit to resource attribute name
Rik Smithies (Aug 04 2020 at 19:33):
Is there a hard limit to the length of the name of an attribute in a resource? I have a recollection of hitting one once, not in the build itself, but in some subsequent process, but I can't recall the circumstances (may have been a profiling tool). My build works but I don't want to hit some later constraint.
Lloyd McKenzie (Aug 04 2020 at 20:39):
I'm not aware of a specific enforced limit, but if you're concerned about hitting it, then your name is definitely too long. Assume that developers are going to have to type every name you have between 100 and several thousand times. Short but still meaningful is the objective.
Rik Smithies (Aug 04 2020 at 22:28):
totally agree - I was seeking specific ammunition for a proposal to shorten it
Last updated: Apr 12 2022 at 19:14 UTC