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

refactor: remove HttpRequest.header alias #718

Merged
merged 2 commits into from
May 22, 2024
Merged

Conversation

mhmd-azeez
Copy link
Collaborator

@mhmd-azeez mhmd-azeez commented May 22, 2024

extism/dotnet-pdk#84 brought to my attention that the Rust SDK supports both headers and header while the go sdk only supports headers. After talking to Zach, we decided to remove the header alias from the Rust SDK too, since it's obsolete and we want people to use headers

@mhmd-azeez mhmd-azeez requested review from bhelx and zshipko May 22, 2024 14:55
zshipko
zshipko previously approved these changes May 22, 2024
@zshipko
Copy link
Contributor

zshipko commented May 22, 2024

There's also memory.max as an alias for memory.max_pages maybe it makes sense to get rid of that now too?

@mhmd-azeez
Copy link
Collaborator Author

@zshipko done!

Copy link
Contributor

@zshipko zshipko left a comment

Choose a reason for hiding this comment

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

Thanks!

@mhmd-azeez mhmd-azeez merged commit 5da0eb3 into main May 22, 2024
5 checks passed
@mhmd-azeez mhmd-azeez deleted the remove-headers-alias branch May 22, 2024 17:34
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