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

Generating Generic Options #247

Open
biqas opened this issue Aug 13, 2024 · 0 comments
Open

Generating Generic Options #247

biqas opened this issue Aug 13, 2024 · 0 comments

Comments

@biqas
Copy link

biqas commented Aug 13, 2024

Hello,

This does not work:

[Union]
public partial record Response
{
    public partial record Ok;
    public partial record Ok<T>;
}

It complains that the abstract members are not implemented.

Also this does not work:

[Union]
public partial record Response<T>
{
    public partial record Ok;
    public partial record Ok(T Data);
}

Or this:

[Union]
public partial record Response
{
    public partial record Ok;
}
[Union]
public partial record Response<T>
{
    public partial record Ok(T Data);
}
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

No branches or pull requests

1 participant