Skip to content

Conversation

@github-actions
Copy link
Contributor

@github-actions github-actions bot commented Oct 6, 2025

Updates the generator version to 1.0.0-alpha.20251009.7.

fixes: microsoft/typespec#8710

- Updated @typespec/http-client-csharp from 1.0.0-alpha.20251003.1 to 1.0.0-alpha.20251003.2
- Updated Microsoft.TypeSpec.Generator.ClientModel from 1.0.0-alpha.20251003.1 to 1.0.0-alpha.20251003.2
- Regenerated OpenAI SDK code with new generator version
- Updated centrally managed package-lock.json file with new dependency versions
@jorgerangel-msft jorgerangel-msft force-pushed the typespec/update-http-client-csharp-1.0.0-alpha.20251003.2 branch from d31cf92 to 6b467cd Compare October 8, 2025 15:57
@jorgerangel-msft jorgerangel-msft marked this pull request as draft October 8, 2025 16:03
@jorgerangel-msft jorgerangel-msft changed the title Update @typespec/http-client-csharp to 1.0.0-alpha.20251003.2 Update @typespec/http-client-csharp to 1.0.0-alpha.20251009.7 Oct 10, 2025
public DateTimeOffset ExpiresAt { get; }

public string Object { get; }
internal InternalUploadObject? Object { get; }
Copy link
Collaborator

Choose a reason for hiding this comment

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

I think we will need to customize this back to string

Copy link
Collaborator

Choose a reason for hiding this comment

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

The type is internal, is this just to maintain the previous behavior?

Copy link
Collaborator

Choose a reason for hiding this comment

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

Hmm maybe not necessary, but I noticed the serialization code changed as a result.

Copy link
Collaborator

Choose a reason for hiding this comment

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

I have yet to run the live tests, but I will try to validate this doesn't break anything if we change this to an enum.

Copy link
Collaborator

Choose a reason for hiding this comment

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

@JoshLove-msft - I ran the live tests and everything seems to be passing. Looking at the serialization code, it seems like it is functionally the same unless I'm missing something here?

Copy link
Collaborator

Choose a reason for hiding this comment

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

I missed that this was internal and the deserialization changes look to be functionally equivalent.

Copy link
Collaborator

@jorgerangel-msft jorgerangel-msft Oct 10, 2025

Choose a reason for hiding this comment

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

I added a unit test that tests the round trip serialization of one of these models for sanity.

@jorgerangel-msft jorgerangel-msft marked this pull request as ready for review October 10, 2025 22:04
@jorgerangel-msft jorgerangel-msft merged commit 9275622 into main Oct 13, 2025
2 checks passed
@jorgerangel-msft jorgerangel-msft deleted the typespec/update-http-client-csharp-1.0.0-alpha.20251003.2 branch October 13, 2025 15:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Update OAI Library to Consume New Generator Version

5 participants