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

[DOCS BETA RELEASE] Fix @ember-data/model package is blank #6444

Merged
merged 1 commit into from
Sep 12, 2019

Conversation

Gaurav0
Copy link
Contributor

@Gaurav0 Gaurav0 commented Sep 12, 2019

Ensure that Model class and attr, hasMany, and belongsTo functions appear in ember-data/model package in docs.

Before:

image

After:

image

@Gaurav0 Gaurav0 changed the title [DOCS] Fix @ember-data/model package is blank [DOCS BETA RELEASE] Fix @ember-data/model package is blank Sep 12, 2019
@@ -138,6 +138,9 @@ import { computedMacroWithOptionalParams } from './util';
`ref.reload` to fetch the resources.

@method hasMany
@public
@static
@for @ember-data/model
Copy link
Contributor

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 ?

Copy link
Contributor

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)

Copy link
Contributor Author

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.

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

Successfully merging this pull request may close these issues.

2 participants