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

feature serde error #646

Closed
xwei3752 opened this issue Jan 11, 2025 · 1 comment
Closed

feature serde error #646

xwei3752 opened this issue Jan 11, 2025 · 1 comment

Comments

@xwei3752
Copy link

error[E0277]: the trait bound serde_with::Bytes: DeserializeAs<'_, [tick::Tick; 88]> is not satisfied
--> /Users/xwei/.cargo/registry/src/github.com-1ecc6299db9ec823/orca_whirlpools_client-1.0.2/src/generated/accounts/tick_array.rs:19:44
|
19 | #[cfg_attr(feature = "serde", serde(with = "serde_with::As::<serde_with::Bytes>"))]
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait DeserializeAs<'_, [tick::Tick; 88]> is not implemented for serde_with::Bytes

@wjthieme
Copy link
Member

wjthieme commented Jan 24, 2025

Thanks for reporting! This is a known issue with codama: codama-idl/codama#184. Unfortunately it would have to be solved from there

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

No branches or pull requests

2 participants