Skip to content

Conversation

max-nextcloud
Copy link

There's no more error and types also allow for directly passing objects as the default value.

Description of Problem

In Vue2 passing objects as a default would cause an error message in the logs. This message is gone now and the type system also seems to allow passing objects directly.
At the same time the docs still claim that a factory function must be used.

Proposed Solution

Update documentation to match the current state.

Additional Information

I have no knowledge about the implication of using a factory function or not. Would just be nice if docs and type hints / warnings matched.

There's no more error and types also allow for directly passing objects as the default value.
Copy link

netlify bot commented Aug 22, 2025

Deploy Preview for vuejs ready!

Name Link
🔨 Latest commit 5fa5912
🔍 Latest deploy log https://app.netlify.com/projects/vuejs/deploys/68a825a66b9ca00008f48b99
😎 Deploy Preview https://deploy-preview-3282--vuejs.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 your Netlify project configuration.

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.

1 participant