-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
[DOCS BETA RELEASE] Fix @ember-data/model package is blank #6444
Conversation
2234890
to
5311b2e
Compare
@@ -138,6 +138,9 @@ import { computedMacroWithOptionalParams } from './util'; | |||
`ref.reload` to fetch the resources. | |||
|
|||
@method hasMany | |||
@public | |||
@static | |||
@for @ember-data/model |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
do we need the @for
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
(going to merge, we can always remove it later, but I suspect we only needed to mark this as public+static)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm not sure why, but it is needed. I saw this pattern in the ember.js repo.
Ensure that Model class and attr, hasMany, and belongsTo functions appear in ember-data/model package in docs.
Before:
After: