Skip to content
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

Add support for unions to PropertyValueSerializer #434

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

jkerken
Copy link
Contributor

@jkerken jkerken commented Dec 17, 2024

Using InputUnion or Union in Resource args for an MLC did not work because of missing support in the PropertyValueSerializer

Added in this pr

@jkerken jkerken requested a review from a team as a code owner December 17, 2024 14:37
[Fact]
public async Task SerializingUnionTypesWorksForT0()
{
using var inputTask = Task.Delay(1000).ContinueWith(r => "InputValue");
Copy link
Member

Choose a reason for hiding this comment

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

These don't need to Delay for a whole second. Just do a 10ms wait.

@Frassle
Copy link
Member

Frassle commented Jan 28, 2025

Also check the code formatting. dotnet run format-sdk

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.

2 participants