Skip to content

Conversation

@patrickthornton
Copy link
Contributor

Description

Occasionally, strings that were in fact DateTimes would be normalized by the wire test generator, but not in the snippet generator, leading to mismatches and failed wire tests; this normalizes those DateTimes in the snippet generator.

Changes Made

Just to csharp-model.

@github-actions
Copy link
Contributor

🌱 Seed Test Selector

Select languages to run seed tests for:

  • Python
  • TypeScript
  • Java
  • Go
  • Ruby
  • C#
  • PHP
  • Swift
  • Rust
  • OpenAPI
  • Postman

How to use: Click the ⋯ menu above → "Edit" → check the boxes you want → click "Update comment". Tests will run automatically and snapshots will be committed to this PR.

@fern-support fern-support force-pushed the patrick/csharp/datetime-fix branch 3 times, most recently from db746bf to a5db430 Compare January 26, 2026 21:34
);
}

[NUnit.Framework.Test]
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

here is the relevant test that would have failed before this

@fern-support fern-support force-pushed the patrick/csharp/datetime-fix branch from 6b76e19 to 5ba7658 Compare January 26, 2026 22:25
set: optional<set<string>>
map: optional<map<integer, string>>
bigint: optional<bigint>
datetimeinstring: optional<string>
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

horrible casing lol

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

change it to datetime_in_string

set: optional<set<string>>
map: optional<map<integer, string>>
bigint: optional<bigint>
datetimeinstring: optional<string>
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

change it to datetime_in_string

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

3 participants