lucasteles / Strongly

💪🏾 A strongly-typed domain values source-generator
MIT License
35 stars 6 forks source link

ToString is not overriden for records #10

Open AlexeyRaga opened 8 months ago

AlexeyRaga commented 8 months ago

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 commented 7 months ago

Hello, thanks for the feedback,

I see, this should be an easy fix