Closed ecton closed 2 years ago
makes sense. I might even implement this as the default behavior of attribute-derive
(maybe I should rename that to something like structattr
). Or add a flag aggregation
. This could be useful for other types as well, but exspecially for Vecs.
When implementing a few of the new derives internally, I noticed one pattern I think could be improved:
I think that this would look cleaner if written this way:
This would require the Schema derive to allow collections to be specified multiple times. I don't think it's as likely for views to be feature-dependent, but I can see an argument to support the same thing for
Collection(views)
.@ModProg