Skip to content

Fix extended value json decode#18

Open
hrajchert wants to merge 1 commit intomainfrom
hrajchert/fix-extended-value
Open

Fix extended value json decode#18
hrajchert wants to merge 1 commit intomainfrom
hrajchert/fix-extended-value

Conversation

@hrajchert
Copy link
Copy Markdown
Collaborator

This PR fixes a decoding issue that was solved for Core but not for Extended Marlowe.

To try the problem run

[nix-shell] $ npm run run-spec

and then enter the following json

{
    "request": "test-roundtrip-serialization",
    "typeId": "Extended.Value",
    "json": {"add": 100000000000000000000000000, "and": 30000000000}
}

Before the fix it throws a runtime error, after the fix it returns the json roundtrip.

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.

1 participant