-
Notifications
You must be signed in to change notification settings - Fork 30
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
Fails on schema inside mod
#29
Comments
can you give me a full example? |
i made a fix on 0.3.4. can you try it again? |
Thanks for being so helpful :) pub mod tenant {
table! {
use crate::diesel_types::org::*;
asd (id) {
id -> Int4,
...
}
}
table! {
...
}
} but table! {
use crate::diesel_types::org::*;
asd (id) {
id -> Int4,
...
}
}
table! {
...
} Currently it doesn't work for two reasons:
#[derive(Debug, Queryable, QueryableByName, Insertable, PartialEq, Eq, Serialize, Deserialize, TypeName, Identifiable)]
#[primary_key(, , , access_controls, id)]
#[table_name = ""]
pub struct {
pub : /* TODO: unknown type */,
pub : /* TODO: unknown type */,
pub : /* TODO: unknown type */,
pub : /* TODO: unknown type */,
pub : /* TODO: unknown type */,
pub : /* TODO: unknown type */,
} Ideally, |
I have updated this to 0.3.5 so that
will output
Does it make sense to you? |
We need this but without the surrounding |
but without surrounding with |
Please make it work with this:
Currently, it panics:
The text was updated successfully, but these errors were encountered: