-
-
Notifications
You must be signed in to change notification settings - Fork 3.7k
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
Mark model attributes using @attribute instead of @property #26
Comments
What's the difference between Also I don't recall any doc lib using |
The difference is that attribute is part of a model's state, while property isn't. At least, if I remember the intention correctly. I also don't recall any library using attributes, but they definitely do extend JSDoc. Actually, just like you extended JSDuck :). |
I don't get the difference but I didn't dig into Models definition either so I guess it is valid case. |
I opened a new issue for this, because that doesn't make sense any more to make some big differentiation between attrs and props: #107 |
Currently we use one tag for all of them what requires reading the code to understand their meaning. Let's introduce an @Attribute tag and we'll find a way to extend JSDoc to handle it.
The text was updated successfully, but these errors were encountered: