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

feat: add CaipAssetTypeOrId struct #229

Merged
merged 2 commits into from
Jan 29, 2025
Merged

Conversation

ccharly
Copy link
Contributor

@ccharly ccharly commented Jan 29, 2025

This new type allows to use either a CaipAssetType or CaipAssetId without using superstruct.union. Resulting in better error messages.

@ccharly ccharly changed the title feat: add CaipAssetTypeOrId struct feat: add CaipAssetTypeOrId struct Jan 29, 2025
@ccharly ccharly merged commit 9dd5b12 into main Jan 29, 2025
18 checks passed
@ccharly ccharly deleted the feat/caip-asset-type-or-id branch January 29, 2025 10:20
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