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(core): decode JsStackFrames using serde_v8 #9902

Merged
merged 5 commits into from
Mar 27, 2021

Conversation

AaronO
Copy link
Contributor

@AaronO AaronO commented Mar 26, 2021

Similar to #9901, this uses serde_v8 to cleanup decoding JsStackFrames.

Notes

  • I used fully qualified paths (i.e: serde::Deserialize, serde_v8::from_v8, ...) instead of use ..., not sure if this goes against our stylistic guidelines, happy to switch it
  • I feel like it's slightly cleaner to use fully qualified paths when there are only a handful of references and the paths are short/straightforward

Copy link
Member

@bartlomieju bartlomieju left a comment

Choose a reason for hiding this comment

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

LGTM, nice cleanup!

@bartlomieju bartlomieju changed the title core/error: decode JsStackFrames using serde_v8 refactor(core): decode JsStackFrames using serde_v8 Mar 27, 2021
@bartlomieju bartlomieju merged commit 699eeeb into denoland:main Mar 27, 2021
@AaronO AaronO deleted the cleanup/core-stackframes branch March 27, 2021 00:26
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