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

fix(frontend): kill crate_type in HaxMeta #756

Merged
merged 1 commit into from
Jul 10, 2024
Merged

Conversation

W95Psp
Copy link
Collaborator

@W95Psp W95Psp commented Jul 9, 2024

This commit removes the field crate_type in the struct HaxMeta, and changes the path of haxmeta files.

Originally, my intention was to name the haxmeta files very closely to rmeta files, but the haxmeta don't have anything to do with crate types.

Also, the code was assuming a crate would have only one type, which is false, as the type suggests... That was making the frontend panic on certain crates.

This commit removes the field `crate_type` in the struct `HaxMeta`,
and changes the path of `haxmeta` files.

Originally, my intention was to name the `haxmeta` files very closely
to `rmeta` files, but the `haxmeta` don't have anything to do with
crate types.

Also, the code was assuming a crate would have only one type, which is
false, as the type suggests... That was making the frontend panic on
certain crates.
@W95Psp W95Psp added this pull request to the merge queue Jul 10, 2024
Merged via the queue into main with commit 640d31e Jul 10, 2024
13 checks passed
@W95Psp W95Psp deleted the frontend-fix-crate-type branch July 10, 2024 08:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
No open projects
Status: Done
Development

Successfully merging this pull request may close these issues.

2 participants