Skip to content

(issue 16790) Added @static tag so that we can see defineProperty in API doc - #16791

Merged
rwjblue merged 1 commit into
emberjs:masterfrom
ijlee2:bugfix/define-property
Jul 9, 2018
Merged

rwjblue merged 1 commit into
emberjs:masterfrom
ijlee2:bugfix/define-property

Conversation

@ijlee2

@ijlee2 ijlee2 commented Jul 4, 2018

Copy link
Copy Markdown
Member

With help from @jenweber, I added a @static tag to the YUIDoc for defineProperty, so that it may correctly appear in the Ember documentation.

Please note that defineProperty is marked as a private method, but the deprecation at https://www.emberjs.com/deprecations/v3.x#toc_ember-meta-descriptor-on-object suggests that it can be used as a public method.

@jenweber

jenweber commented Jul 4, 2018

Copy link
Copy Markdown
Contributor

Question for the reviewer - should we open another PR to make this method Public? Here's the deprecation solution that recommends its use.

I confirmed when run locally that this change makes the docs show on the api website up as long as "show private/deprecated" is checked:
screen shot 2018-07-03 at 9 21 31 pm

screen shot 2018-07-03 at 9 20 41 pm

@rwjblue

rwjblue commented Jul 9, 2018

Copy link
Copy Markdown
Member

Question for the reviewer - should we open another PR to make this method Public? Here's the deprecation solution that recommends its use.

Yes. 😸

@rwjblue
rwjblue merged commit 56bc322 into emberjs:master Jul 9, 2018
@rwjblue

rwjblue commented Jul 9, 2018

Copy link
Copy Markdown
Member

Thank you both!

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.

3 participants