microsoft / microsoft/typespec

Fix/Adopt New DateTime XML Spector Scenario

Open
#9,991 0 comments 0 reactions 0 assignees View on GitHub
emitter:client:csharp
Dominant language
Java
Stars
5.9k
Forks
394
Avg merge
1d 23h
Merged PRs (30d)
104

Description

The new [ModelWithDatetime](https://github.com/microsoft/typespec/blob/main/packages/http-specs/specs/payload/xml/mockapi.ts#L132) xml scenario is failing since the spector tests expects the `rfc3339` property in the request payload to only have 3 digits of precision. For rfc3339, we default to 7 digits.

We should validate what the expected behavior should be for .NET specifically, and/or if the spector test itself needs to be relaxed.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.