-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Added has_table_tuples to implement HasTable for n-uples
#4874
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
base: main
Are you sure you want to change the base?
Added has_table_tuples to implement HasTable for n-uples
#4874
Conversation
|
Why doesn't |
|
Columns likely don't implement |
Will try to do as you suggest. |
|
Since there is already the following blanket: impl<T: HasTable> HasTable for &T {
type Table = T::Table;
fn table() -> Self::Table {
T::table()
}
}The proposed blanket So we can either have a tuple where all entries have |
|
Sounds reasonable |
|
@weiznich the PR should be ready, even though due to the inability to implement the While I agree it would be disagreeable to extend by default the schema size by implementing |
|
I tried to do the above, but it leads to a cascade of: |
As per discussion #4870