Skip to content
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 our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor(biome_deserialize): replace is_type() with visitable_type() #2310

Merged
merged 1 commit into from
Apr 4, 2024

Conversation

Conaclos
Copy link
Member

@Conaclos Conaclos commented Apr 4, 2024

Summary

This PR introduces a minor refactoring that replaces DeserializableValue::is_type with DeserializableValue::visitableType. This looks more idiomatic to return the type instead of testing it.

Test Plan

CI should pass.

@github-actions github-actions bot added the A-Project Area: project label Apr 4, 2024
Copy link

netlify bot commented Apr 4, 2024

Deploy Preview for biomejs failed. Why did it fail? →

Name Link
🔨 Latest commit a08f398
🔍 Latest deploy log https://app.netlify.com/sites/biomejs/deploys/660ed0a160a59f000987f5c3

@Conaclos Conaclos force-pushed the conaclos/biome_deserialize/visitable-type branch from a64a6e7 to a08f398 Compare April 4, 2024 16:09
@Conaclos Conaclos changed the title refactor(biome_deserialize): replace is_type with visitable-type refactor(biome_deserialize): replace is_type() with visitable_type() Apr 4, 2024
@Conaclos Conaclos merged commit b42990f into main Apr 4, 2024
12 of 16 checks passed
@Conaclos Conaclos deleted the conaclos/biome_deserialize/visitable-type branch April 4, 2024 16:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-Project Area: project
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant