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

Add top-level from_slice #142

Merged
merged 12 commits into from
Jun 6, 2023
Merged

Add top-level from_slice #142

merged 12 commits into from
Jun 6, 2023

Conversation

iho
Copy link
Contributor

@iho iho commented May 29, 2023

Addresses several items from #51:

  • deprecate BorshDeserialize::try_from_slice in favor of borsh::from_slice top-level function ( 😡 a lot of churn with this one)

@iho iho requested a review from frol as a code owner May 29, 2023 14:02
borsh/src/de/mod.rs Outdated Show resolved Hide resolved
borsh/src/lib.rs Outdated Show resolved Hide resolved
@frol
Copy link
Collaborator

frol commented May 31, 2023

@iho Thanks for the contribution! There are just a couple of review comments to address and we are good to merge this PR

borsh/src/schema_helpers.rs Outdated Show resolved Hide resolved
borsh/src/schema_helpers.rs Outdated Show resolved Hide resolved
@iho iho requested a review from frol June 4, 2023 15:36
Copy link
Collaborator

@frol frol left a comment

Choose a reason for hiding this comment

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

We are almost there. Just a couple of small discussions to solve and ready to merge.

borsh/src/de/mod.rs Outdated Show resolved Hide resolved
borsh/src/de/mod.rs Outdated Show resolved Hide resolved
borsh/src/de/mod.rs Show resolved Hide resolved
@frol
Copy link
Collaborator

frol commented Jun 6, 2023

re-openning PR to trigger CI (I don't know what happened)

@frol frol closed this Jun 6, 2023
@frol frol reopened this Jun 6, 2023
Copy link
Collaborator

@frol frol left a comment

Choose a reason for hiding this comment

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

@iho Great job! Merging it now

@frol frol merged commit d6ec399 into near:master Jun 6, 2023
4 checks passed
This was referenced Jun 6, 2023
@frol frol mentioned this pull request Aug 9, 2023
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

2 participants