Skip to content

Add reset method #7689

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Jun 20, 2025
Merged

Add reset method #7689

merged 2 commits into from
Jun 20, 2025

Conversation

JoshLove-msft
Copy link
Contributor

@JoshLove-msft JoshLove-msft commented Jun 20, 2025

This is a solution for the problem of not being able to use the Update method to reset properties to null. Resetting properties to null is useful to force cache invalidation of the TypeProvider properties.

@microsoft-github-policy-service microsoft-github-policy-service bot added the emitter:client:csharp Issue for the C# client emitter: @typespec/http-client-csharp label Jun 20, 2025
Copy link
Contributor

No changes needing a change description found.

@JoshLove-msft JoshLove-msft added this pull request to the merge queue Jun 20, 2025
Merged via the queue into microsoft:main with commit dac393a Jun 20, 2025
21 checks passed
@JoshLove-msft JoshLove-msft deleted the add-reset branch June 20, 2025 15:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
emitter:client:csharp Issue for the C# client emitter: @typespec/http-client-csharp
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants