allow arbitrary attribute value in owned attribute value (#574)

This commit is contained in:
Demonthos authored and GitHub committed 2022-10-02 14:13:06 -07:00
1 parent e98f46bbcc
commit 928b5358b2
4 files changed
+92 -4

No files matched your search

+1
View File
@@ -216,6 +216,7 @@ impl ToTokens for TemplateAttributeBuilder {
OwnedAttributeValue::Bytes(b) => {
quote! {StaticAttributeValue::Bytes(&[#(#b),*])}
}
OwnedAttributeValue::Any(_) => todo!(),
};
quote! {TemplateAttributeValue::Static(#val)}
}