Skip to content

Conversation

jprendes
Copy link
Contributor

@jprendes jprendes commented May 8, 2025

This PR:

  • reduces code duplication using macros
  • replaces get_hyperlight_type with a TYPE associated const
  • replaces get_hyperlight_value(&self) with into_value(self), for a better name and avoiding a copy.
  • replaces get_inner(v: XxxValue) with from_value(v: XxxValue), for a better name.

@jprendes jprendes added the kind/refactor For PRs that restructure or remove code without adding new functionality. label May 8, 2025
Copy link
Contributor

@ludfjig ludfjig left a comment

Choose a reason for hiding this comment

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

clean

@jprendes jprendes merged commit 7373501 into hyperlight-dev:main May 8, 2025
38 of 50 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/refactor For PRs that restructure or remove code without adding new functionality.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants