Files
sausage/sdk/tests/ui/serde.rs
surma 01712e745a sausage-plugin part 1: run, #[rpc], #[schema], rpc.discover, calls, locks, Ctx, hooks
Checkpoint. Known issues, fixed in part 2: short writes on stdout,
byte-wise stdin reads, Result suffix on all result schemas, lost enum
variant docs, serde errors as invalid params, missing item docs.
2026-10-23 00:05:37 +01:00

10 lines
193 B
Rust

//! Reject serde shapes outside the subset.
/// A schema with flatten.
#[sausage_plugin::schema]
struct Bad {
/// A flattened value.
#[serde(flatten)]
value: String,
}
fn main() {}