Skip to content

Replace generic with dyn CustomMsg #2498

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

Draft
wants to merge 12 commits into
base: main
Choose a base branch
from
Draft

Conversation

chipshort
Copy link
Collaborator

@chipshort chipshort commented Jun 13, 2025

closes #2249

Just opening to get some opinions. This has the drawback that it loses all json schema for CustomMsg (I did a custom impl that accepts any value) and makes the CustomMsg a bit more cumbersome to use. On the positive side, it does get rid of the generic parameter.

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.

Avoid generic parameter in CosmosMsg<C>
1 participant