-
Notifications
You must be signed in to change notification settings - Fork 27
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
Cannot put metadata and doc to ResourceNameParameter #809
Comments
@pshao25 You can do this using an augment decorator on the name parameter, as in this playground. I think we should mention this in the docs, though. |
Thanks! Seems the link is wrong, but I already got your point! Augment decorator works! My follow-up problem is the type of
After I upgraded to the latest compiler, a non-string name is not allowed. |
est: 1 |
@markcowl Just to confirm, your estimation is for the documentation or for the fix of enum name I put above? Do you want me to create a separate new issue for the enum name scenario? |
Here is how I define a resource before:
I have customized document. I have length limitation by
@maxLength
and@minLength
.After I change it to
The doc I added is ignored. And I cannot add more decorators to the spread
ResourceNameParameter
.The text was updated successfully, but these errors were encountered: