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

Implement subtyping upon decoding #10

Merged
merged 17 commits into from
Jun 17, 2021
Merged

Implement subtyping upon decoding #10

merged 17 commits into from
Jun 17, 2021

Conversation

nomeata
Copy link
Owner

@nomeata nomeata commented Jun 17, 2021

This implements the changes to the Candid spec from dfinity/candid#168, by introducing a notion of coercion.

This also required significant changes to the machinery around function and service types, and it now handles annotations properly.

@nomeata nomeata marked this pull request as ready for review June 17, 2021 18:57
@nomeata nomeata merged commit 01157c5 into master Jun 17, 2021
@nomeata nomeata deleted the subtyping branch June 17, 2021 19:29
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