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

Prioritise properties #7

Open
JosephDuffy opened this issue Feb 7, 2024 · 0 comments
Open

Prioritise properties #7

JosephDuffy opened this issue Feb 7, 2024 · 0 comments

Comments

@JosephDuffy
Copy link
Owner

By default the macro will check properties in the order they're declared. However some properties are more likely to be different and some may take longer to compare (e.g. a string vs a bool).

The macro could offer 3 options for the order of the compared properties:

  • Order of declaration
  • Automatic (e.g. bools, then numbers, then strings, then custom types)
  • Manual, via prority provided to the @Hashed macro
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

No branches or pull requests

1 participant