tursodatabase / tursodatabase/libsql
libsql `de::from_row` does not support serde flatten
Open
Nobody has claimed this yet.
- Dominant language
- C
- Stars
- 17.2k
- Forks
- 531
- Avg merge
- 1h 12m
- Merged PRs (30d)
- 1
Description
de::from_row does incorrectly errors on structs which have a #[serde(flatten)] attribute in one of their member fields.
Error: Expected a struct
I will update this issue with a repro when I get a chance
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
No file, test, or reproduction is provided in the issue. Start by isolating the de::from_row path with a struct containing a serde flatten field, then define done as successful deserialization without the “Expected a struct” error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- databases
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100