Skip to content

Make Candid JS library backward compatible #524

@chenyan-dfinity

Description

@chenyan-dfinity

https://dfinity.atlassian.net/browse/ICSUP-2629

The JS library is not conforming to the spec. Decoding message record { } as type record { a : opt int } results in an error with field a not found. This means that the Candid JS binding has to always use the latest did file if there is an upgrade on the server side.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions