We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Thanks for this great crate!
Currently this generates:
#[derive(Queryable, Debug, Identifiable)] #[primary_key(key)] pub struct Setting { pub key: String, pub value: Jsonb, }
for:
table! { settings (key) { key -> Varchar, value -> Jsonb, } }
which doesn't compile because Jsonb isn't imported.
It would be great if it instead generated the correct serde type
#[derive(Queryable, Debug, Identifiable)] #[primary_key(key)] pub struct Setting { pub key: String, pub value: serde_json::Value, }
The text was updated successfully, but these errors were encountered:
added. will be released in the next version. (>= 0.3.8)
Sorry, something went wrong.
@jacob-pro 0.3.9 released . it should contains the above feat.
thank you :)
No branches or pull requests
Thanks for this great crate!
Currently this generates:
for:
which doesn't compile because Jsonb isn't imported.
It would be great if it instead generated the correct serde type
The text was updated successfully, but these errors were encountered: