Skip to content

fix(runtime-core): optional props from Mixin/Extends are treated as r… #2048

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Merged
merged 2 commits into from
Sep 16, 2020

Conversation

wonderful-panda
Copy link
Contributor

…equired (#2039)

@yyx990803
Copy link
Member

Thanks for the PR! Unfortunately, after merging #1883, I wasn't able to resolve the conflicts in a way that passes all the tests (specifically I couldn't get props with default from mixins to be made optional). Would you mind rebase your PR on top of master? Thanks!

@wonderful-panda
Copy link
Contributor Author

Thank you. Rebased and pushed now.

BTW, ExtraPropTypes no longer needs second parameter (MakeDefaultRequired). It can be removed for now.

@yyx990803 yyx990803 merged commit 89e9ab8 into vuejs:master Sep 16, 2020
# for free to join this conversation on GitHub. Already have an account? # to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants