Skip to content

[docs] Update docs to reflect #454 change to remove accessor wrapping - #460

Merged
8 commits merged into
masterfrom
no-wrap-accessor-docs
Feb 5, 2019
Merged

8 commits merged into
masterfrom
no-wrap-accessor-docs

Conversation

@kevinpschaaf

Copy link
Copy Markdown
Member

Since we no longer wrap existing accessors, the language and example in #accessors-custom is updated to indicate the user must manually call requestUpdate.

In addition, since noAccessor is only needed now in a pretty esoteric case (extending a superclass and changing metadata for a declared property that also has a custom accessor), the code example in that section is simplified.

Reference Issue

Docs update for #454

Since we no longer wrap existing accessors, the language and example in #accessors-custom is updated to indicate the user must manually call `requestUpdate`.

In addition, since `noAccessor` is _only_ needed now in a pretty esoteric case (extending a superclass and changing metadata for a declared property _that also has a custom accessor_), the code example in that section is simplified.

@ghost ghost left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Need to fix the stackblitz samples - I'll do this now

@dorivaught dorivaught added this to the 2.0.0 milestone Jan 18, 2019
Comment thread docs/_guide/properties.md Resolved
@ghost ghost changed the title Update docs to reflect #454 change to remove accessor wrapping [docs] Update docs to reflect #454 change to remove accessor wrapping Jan 29, 2019
@ghost

ghost commented Jan 29, 2019

Copy link
Copy Markdown

@kevinpschaaf pls see #489 for some changes i wanted to add to this. If it works better, I can make a PR to master after this is merged

@ghost ghost self-assigned this Feb 4, 2019
@justinfagnani

Copy link
Copy Markdown
Contributor

@katejeffreys I think you can just merge #489 into here, then merge this.

[docs] Code samples for accessors with subclassing && tidy up doc
@ghost
ghost merged commit 79f66f2 into master Feb 5, 2019
@ghost
ghost deleted the no-wrap-accessor-docs branch March 25, 2019 19:12
This pull request was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants