-
Notifications
You must be signed in to change notification settings - Fork 3
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
ppx: remove string_to_json
usage on js side
#35
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!
(Looking at the output, we can also just Obj.magic it away as well)
Ah good point. St like 1d93950? |
Yes, looks good! |
CHANGES.md
Outdated
@@ -19,6 +19,8 @@ | |||
([#30](https://github.com/melange-community/melange-json/pull/30)) | |||
- PPX: add support for `int64` in the runtime | |||
([#33](https://github.com/melange-community/melange-json/pull/33)) | |||
- PPX: qualify `string_to_json` usage on js side |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
in the end this isn't really what ended up happening 😬
string_to_json
usage on js sidestring_to_json
usage on js side
Fixes #34.
The first commit adds a test that shows the error on JS side. The second commit fixes it.