mirror of
https://github.com/Start9Labs/patch-db.git
synced 2026-03-26 10:21:53 +00:00
disallow indexing into flattened params
This commit is contained in:
@@ -84,7 +84,7 @@ impl ChildInfo {
|
||||
.filter_map(|attr| syn::parse2::<Path>(attr.tokens.clone()).ok())
|
||||
.any(|path| path.is_ident("flatten"))
|
||||
{
|
||||
None
|
||||
continue;
|
||||
} else {
|
||||
Some(Lit::Str(get_accessor(
|
||||
serde_rename_all,
|
||||
|
||||
Reference in New Issue
Block a user