Open timotheeguerin opened 2 months ago
@key
@identifiers
extern dec identifiers(target: ModelProperty, properties: ModelProperty[]); function getModelIdentifiers(program: Program, model: Model): ModelProperty[];
decorator could potentially validate that the identifier specified are not the same as the default ones
Proposal is here:https://gist.github.com/markcowl/d316ff4566aa04c5332c33402fbd218c
Design approved
@key
whenever possible(including new multiple key feature added by microsoft/typespec@identifiers
decorator could potentially validate that the identifier specified are not the same as the default ones