Support #[serde(flatten)]#278
Conversation
|
Thanks for your contribution.
|
None of the benchmarks perform noticeably different for me locally between this branch and
Adding integration tests makes sense, though could you clarify which behavior with maps you'd like to see tested? |
Some basic scenarios like https://serde.rs/attr-flatten.html or #99 (comment). Makes sense to test it with 3rd party maps, too. |
0208651 to
3b55479
Compare
|
This has proven to be a bit more complex than I thought because of my misunderstanding of how
I've updated this branch with (hacky) workaround for the first two points but the last point seems impossible to solve without ditching serde entirely, so I'm not sure this is still the right direction. |
…`deserialize_*` method
3b55479 to
b6a719d
Compare
Summary
Closes #264
Turns
COLUMN_NAMEandCOLUMN_COUNTinto non-constfunctions, and adds support for the#[serde(flatten)]attribute. LMK if this approach is roughly what you had in mind for this feature 🙂Checklist
Delete items not relevant to your PR: