Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement Decorator functionality #6

Open
mspaulik opened this issue Oct 28, 2022 · 1 comment
Open

Implement Decorator functionality #6

mspaulik opened this issue Oct 28, 2022 · 1 comment
Assignees
Labels
enhancement New feature or request

Comments

@mspaulik
Copy link
Collaborator

mspaulik commented Oct 28, 2022

Try out usage of different decorators:

  • deprecated
  • doc - attach a documentation string. Works great with multiline string literals.
  • summary - attach a documentation string. Typically a short single line description.
  • format - specify the data format hint for a string type.
  • pattern
  • knownValues - make a string type with an enum that contains all known values.
  • secret - make a string as a secret value that should be treated carefully to avoid exposure.
  • minLength/maxLength
  • minValue/maxValue
@mspaulik mspaulik self-assigned this Nov 2, 2022
@mspaulik
Copy link
Collaborator Author

mspaulik commented Nov 4, 2022

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant