Skip to content

fix(StateEditor): add isPrimitive helper and support bigint type (#744)#854

Merged
antfu merged 1 commit into
nuxt:mainfrom
hichem-dahi:fix/state-editor-primitive-bigint-support
Apr 22, 2025
Merged

fix(StateEditor): add isPrimitive helper and support bigint type (#744)#854
antfu merged 1 commit into
nuxt:mainfrom
hichem-dahi:fix/state-editor-primitive-bigint-support

Conversation

@hichem-dahi
Copy link
Copy Markdown
Contributor

🔗 Linked issue

fixes #744

❓ Type of change

  • 📖 Documentation (updates to the documentation or readme)
  • [x ] 🐞 Bug fix (a non-breaking change that fixes an issue)
  • 👌 Enhancement (improving an existing functionality)
  • ✨ New feature (a non-breaking change that adds functionality)
  • 🧹 Chore (updates to the build process or auxiliary tools and libraries)
  • ⚠️ Breaking change (fix or feature that would cause existing functionality to change)

📚 Description

This PR introduces a isPrimitive utility function to clean up the type-checking logic in StateEditor, and adds support for bigint values as valid primitives.

@antfu antfu merged commit f8eed63 into nuxt:main Apr 22, 2025
1 of 2 checks passed
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.

fix: Payload tab not showing bigints values

2 participants