Cannot deserialize Option<OffsetDateTime> for XML
@heaths がすでに取り組んでいます。
2025年11月6日 から。
評価
この issue はまだ評価されていません。
説明
The problem is that azure_core::time::rfc3339::option is designed for JSON deserialization where datetime values are simple strings. In XML, element content needs special handling. The XML deserializer sees <Start>2025-11-05T21:14:02.3927308Z</Start> as a map with a text node, not as a simple string.
The timestamp fails to deserialize because:
- The XML deserializer represents
<Start>2025-11-05T21:14:02.3927308Z</Start>as a map structure (with text content) - The
azure_core::time::rfc3339::optiondeserializer expects a simple string value - There's a mismatch between XML's structural representation and what the RFC3339 deserializer expects
I expect this may be a problem with quick-xml and will debug the issue. Hopefully I can get a PR merged wherever the issue is to fix this upstream.
Originally posted by @heaths in https://github.com/Azure/typespec-rust/pull/682#discussion_r2500509136
- 主要言語
- Rust
- スター
- 8
- フォーク
- 11
- 平均マージ
- 16時間 42分
- マージ済み PR(30日)
- 6
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
Azure/typespec-rust のほかの issue
-
CodeGen rust
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
Azure/typespec-rust#959 ·
-
難易度 3/5 1〜2日 初心者へのやさしさ 64/100
Azure/typespec-rust#1032 · コメント 8 件 ·
-
CodeGen
難易度 4/5 3〜5日 初心者へのやさしさ 35/100
Azure/typespec-rust#1029 ·
-
CodeGen
難易度 3/5 1〜2日 初心者へのやさしさ 35/100
Azure/typespec-rust#1028 ·
-
CodeGen
難易度 3/5 1〜2日 初心者へのやさしさ 55/100
Azure/typespec-rust#1020 ·
Azure/typespec-rust の issue をすべて見る
似ている issue
-
llm translation
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
メンテナーはふだん 1 日以内に返信
-
area: backend type: enhancement
難易度 2/5 1〜3時間 初心者へのやさしさ 61/100
armadavalor/WinKnife#6 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
5omeOtherGuy/phaseone#870 ·
メンテナーはふだん 1 日以内に返信
-
難易度 1/5 1〜3時間 初心者へのやさしさ 72/100
MattA-Official/vwmcp#20 ·