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

Don't hash constant values; only their types #587

Merged
merged 3 commits into from Jun 27, 2022

Conversation

jsdw
Copy link
Collaborator

@jsdw jsdw commented Jun 27, 2022

The goal of metadata validation is checking for compatibility between metadatas, not equality, so no need to hash the value of constants; that'll just lead to calls to obtain them failing that should succeed.

Also we don't need to hash the name of the constant when we are looking up the constant by name anyway.

@niklasad1 niklasad1 merged commit a90697c into master Jun 27, 2022
@niklasad1 niklasad1 deleted the jsdw-dont-hash-constant-values branch June 27, 2022 15:02
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.

None yet

3 participants