Replies: 1 comment 1 reply
-
Are you sure this is a Rocket problem? The FromRow trait is defined by the sqlx crate. I think you should report this issue in https://github.com/launchbadge/sqlx |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi there,
It seems I can't derive
FromRow
for my struct because of aVec<>
field. My struct looks like this:I get the following compiler error at the
App::from_row(&row)
call site, see below. I thought the#[sqlx(default)]
attribute would initialized the field to an empty vector. What am I missing? Thanks.Compiler error:
Beta Was this translation helpful? Give feedback.
All reactions