Skip to content

refactor: drop tool-specific ID types#427

Merged
floryst merged 1 commit intomainfrom
switch-to-toolid
Sep 20, 2023
Merged

refactor: drop tool-specific ID types#427
floryst merged 1 commit intomainfrom
switch-to-toolid

Conversation

@floryst
Copy link
Contributor

@floryst floryst commented Sep 20, 2023

The per-tool nominal types weren't proving useful. We now unify all tools to use the same ToolID type.

The per-tool nominal types weren't proving useful. We now unify all
tools to use the same ToolID type.
@floryst floryst requested a review from PaulHax September 20, 2023 14:10
@netlify
Copy link

netlify bot commented Sep 20, 2023

Deploy Preview for volview-dev ready!

Name Link
🔨 Latest commit 92f1670
🔍 Latest deploy log https://app.netlify.com/sites/volview-dev/deploys/650afd6ff9e5a50008e5ba3b
😎 Deploy Preview https://deploy-preview-427--volview-dev.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 site configuration.

Copy link
Collaborator

@PaulHax PaulHax left a comment

Choose a reason for hiding this comment

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

I guess TS does not have to be bunch of type gymnastics. Enough of a workout in other ways.

@floryst
Copy link
Contributor Author

floryst commented Sep 20, 2023

Certainly so. It's a good idea if we needed compile-and-IDE-time hints that we are using an improper ID, but turns out we never ran into that so far.

@floryst floryst merged commit 8fcadfc into main Sep 20, 2023
@floryst floryst deleted the switch-to-toolid branch September 20, 2023 14:20
PaulHax pushed a commit to PaulHax/VolView that referenced this pull request Apr 24, 2025
refactor: drop tool-specific ID types
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.

2 participants