bterlson / cadl-rdfs

A cadl to rdfs emitter
0 stars 0 forks source link

Implement Decorator functionality #6

Open mspaulik opened 2 years ago

mspaulik commented 2 years ago

Try out usage of different decorators:

mspaulik commented 2 years ago

DONE: minLength/maxLength minValue/maxValue doc - attach a documentation string. Works great with multiline string literals. summary - attach a documentation string. Typically a short single line description. deprecated pattern secret - make a string as a secret value that should be treated carefully to avoid exposure. format - specify the data format hint for a string type. (done on andImplementation branch) knownValues - make a string type with an enum that contains all known values. Custom decorators