Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

fix(#2591):findComponent doesn't not return exposed properties in vm#2715

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Open
adamberecz wants to merge2 commits intovuejs:main
base:main
Choose a base branch
Loading
fromadamberecz:main

Conversation

@adamberecz
Copy link

After investigating the issue down to@vue/runtime-core it appears thatexposeProxy is only set in a script-setup component if it uses at least one directive:
https://github.com/vuejs/core/blob/main/packages/runtime-core/src/component.ts#L1187
https://github.com/vuejs/core/blob/main/packages/runtime-core/src/directives.ts#L143

Meaning a component can have an exposed API whileexposeProxy isnull. In this case we can create manually fromexposed which essentially has the same effect, because the one created by runtime-core is only different by also proxyingpublicPropertiesMap which aren't available anyway.

@netlify
Copy link

netlifybot commentedSep 30, 2025
edited
Loading

Deploy Preview forvue-test-utils-docs ready!

NameLink
🔨 Latest commiteb826a7
🔍 Latest deploy loghttps://app.netlify.com/projects/vue-test-utils-docs/deploys/68dbd3a202f4430007139177
😎 Deploy Previewhttps://deploy-preview-2715--vue-test-utils-docs.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to yourNetlify project configuration.

Copy link
Member

@cexbrayatcexbrayat left a comment

Choose a reason for hiding this comment

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

Thank you for looking into it. Would you mind adding a unit test that showcases that the issue no longer exists?

@cexbrayat
Copy link
Member

Hi@adamberecz

Would you mind adding some unit tests to the PR so we can merge it?

@adamberecz
Copy link
Author

I've stumbled upon another issue related to usingdevtoolsRawSetupState which might not be available in some cases. I'm still investigating it as it might also affect this behavior. I'll get to you and possibly update the PR (+ add some tests).

cexbrayat reacted with heart emoji

Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@cexbrayatcexbrayatcexbrayat requested changes

Requested changes must be addressed to merge this pull request.

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

2 participants

@adamberecz@cexbrayat

[8]ページ先頭

©2009-2025 Movatter.jp