cultnet-rs: kind-array refusal no longer quotes the value; README says delete carries ids

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Meta Vens 2026-10-16 05:55:05 +02:00
commit 0daa2f1017
3 changed files with 24 additions and 3 deletions

View file

@ -1658,7 +1658,7 @@ fn require_legacy_optional_schema_kind_array(
"wire_message" => Ok(CultNetSchemaKind::WireMessage),
"document_payload" => Ok(CultNetSchemaKind::DocumentPayload),
"shared_contract" => Ok(CultNetSchemaKind::SharedContract),
_ => Err(anyhow!("{field_name} has unsupported schema kind {value}")),
_ => Err(anyhow!("{field_name} has an unsupported schema kind")),
})
.collect::<Result<Vec<_>>>()
.map(Some)