From 15274afec0836746deab741931045097181e9068 Mon Sep 17 00:00:00 2001 From: Robert Jacobson Date: Fri, 20 Feb 2026 09:03:29 -0600 Subject: [PATCH] fix: Implement `PropertyList` and `Query` for tuples of size up to 20 --- src/entity/property_list.rs | 4 ++-- src/entity/query/query_impls.rs | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/entity/property_list.rs b/src/entity/property_list.rs index 3978a26b..045c72aa 100644 --- a/src/entity/property_list.rs +++ b/src/entity/property_list.rs @@ -131,7 +131,7 @@ macro_rules! impl_property_list { }; } -// Generate impls for tuple lengths 2 through 10. -seq!(Z in 2..=5 { +// Generate impls for tuple lengths 2 through 20. (The 0 and 1 case are implemented above.) +seq!(Z in 2..=20 { impl_property_list!(Z); }); diff --git a/src/entity/query/query_impls.rs b/src/entity/query/query_impls.rs index 5aa29401..0ad5fd62 100644 --- a/src/entity/query/query_impls.rs +++ b/src/entity/query/query_impls.rs @@ -266,7 +266,7 @@ macro_rules! impl_query { } } -// Implement the versions with 2..10 parameters. (The 1 case is implemented above.) -seq!(Z in 2..10 { +// Implement the versions with 2..20 parameters. (The 0 and 1 case are implemented above.) +seq!(Z in 2..20 { impl_query!(Z); });