Skip to content

fix(schema): exclude non-serialisable types from app options#27478

Merged
danielroe merged 3 commits intomainfrom
fix/serializable-app-config
Jun 7, 2024
Merged

fix(schema): exclude non-serialisable types from app options#27478
danielroe merged 3 commits intomainfrom
fix/serializable-app-config

Conversation

@danielroe
Copy link
Copy Markdown
Member

🔗 Linked issue

📚 Description

This improves type safety in nuxt app option. We don't support functions or promises, despite these being permitted in the types for app.head and app.pageTransition/app.layoutTransition.

This should improve DX.

@bolt-new-by-stackblitz
Copy link
Copy Markdown

Review PR in StackBlitz Codeflow Run & review this pull request in StackBlitz Codeflow.

@github-actions github-actions Bot added the bug label Jun 7, 2024
@danielroe danielroe merged commit 5785332 into main Jun 7, 2024
@danielroe danielroe deleted the fix/serializable-app-config branch June 7, 2024 12:22
@github-actions github-actions Bot mentioned this pull request Jun 7, 2024
4 tasks
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.

1 participant