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: Add structs to typedUnion schema #2623

Merged
merged 2 commits into from
Aug 1, 2024

Conversation

FrederikBolding
Copy link
Member

Add structs that are part of the union to the typedUnion schema. This mirrors our implementation of union, which we were using before:

schema: [head, ...tail],

This makes it easier to understand what structs are contained in a union at runtime.

@FrederikBolding FrederikBolding requested a review from a team as a code owner August 1, 2024 11:51
@FrederikBolding
Copy link
Member Author

@metamaskbot update-pr

@FrederikBolding FrederikBolding merged commit 468c120 into main Aug 1, 2024
154 checks passed
@FrederikBolding FrederikBolding deleted the fb/add-structs-to-typed-union-schema branch August 1, 2024 12:06
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.

3 participants