Skip to content

Conversation

a631807682
Copy link
Contributor

@a631807682 a631807682 commented Oct 12, 2019

  1. waring if computed option miss getter
  2. waring when set value but miss setter

@a631807682 a631807682 changed the title fix(apiOptions): invalid computed option [WIP]fix(apiOptions): invalid computed option Oct 12, 2019
@a631807682 a631807682 changed the title [WIP]fix(apiOptions): invalid computed option fix(apiOptions): invalid computed option Oct 12, 2019
@@ -539,7 +539,7 @@ describe('api: options', () => {
expect('Invalid watch option: "foo"').toHaveBeenWarned()
})

test('computed warn with setter and no getter', () => {
test('computed with setter and no getter', () => {
Copy link
Member

Choose a reason for hiding this comment

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

I think the previous description is a bit better describing what the test is

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 think the previous description is a bit better describing what the test is

but it wrapped in warnings describe, so i have no idea which is better.

@yyx990803 yyx990803 merged commit d2bcedb into vuejs:master Oct 14, 2019
@vue-bot
Copy link
Contributor

vue-bot commented Oct 14, 2019

Hey @a631807682, thank you for your time and effort spent on this PR, contributions like yours help make Vue better for everyone. Cheers! 💚

@a631807682 a631807682 deleted the fix-invalid-option branch October 14, 2019 06:21
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.

4 participants