metadatacenter / cedar-yaml-spec

Discussions and issues about the design of CEDAR YAML
0 stars 0 forks source link

Simplify `text-field` to `textfield` #3

Open matthewhorridge opened 5 months ago

matthewhorridge commented 5 months ago

In general I'd prefer names for values without dashed or hyphens. For example, type: text-field could be simply type: textfield.

egyedia commented 5 months ago

While I agree with that, singleselectlistfield looks pretty bad, and it is easier to make a typo in it, as opposed to single-select-list-field.

matthewhorridge commented 5 months ago

Ah right. This makes sense. Alternatives might be TextField and SingleSelectListField but the dashes are okay too in this case I guess.