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

fix(patterns): pass type parameter from interface guard to payload #1771

Merged
merged 1 commit into from
Sep 16, 2023

Conversation

erights
Copy link
Contributor

@erights erights commented Sep 16, 2023

The previous endo release added getInterfaceGuardPayload so that agoric-sdk could start to use it, rather than accessing the fields of an interface guard directly. This paves the way for #1712 . However, because the type of getInterfaceGuardPayload did not propagate the type parameter from the guard argument to the returned payload, the Agoric/agoric-sdk#8339 attempt to switch to it causes type errors due to the loss of this type information.

Copy link
Member

@michaelfig michaelfig left a comment

Choose a reason for hiding this comment

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

Straightforward! Sorry for the omission.

@erights erights merged commit 1bfb9c4 into master Sep 16, 2023
14 checks passed
@erights erights deleted the markm-interface-guard-type-param branch September 16, 2023 19:14
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.

2 participants