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

ToString is not overriden for records #10

Open
AlexeyRaga opened this issue Mar 1, 2024 · 1 comment
Open

ToString is not overriden for records #10

AlexeyRaga opened this issue Mar 1, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@AlexeyRaga
Copy link

Looks like there is missing

public override string ToString() => this.Value.ToString();

for record types.

This has it:

[Strongly]
public partial struct UserId;

and this one does not:

[Strongly]
public partial record struct UserId;
@lucasteles
Copy link
Owner

Hello, thanks for the feedback,

I see, this should be an easy fix

@lucasteles lucasteles added the bug Something isn't working label Mar 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants