Skip to content

Raise a build time error for nested structs with URL-encoded bodies #382

@plotnick

Description

@plotnick

serde_urlencoded produces a runtime error if asked to decode a nested struct. We could detect that at build time by looking at the JsonSchema object and making sure it's an object whose properties are all scalars. See #363 (review).

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions