We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Given: public partial readonly struct RedemptionId;, when I alt+enter and do 'Add Validation Method', I get:
public partial readonly struct RedemptionId;
[ValueObject<string>] public readonly partial struct RedemptionId private static Validation Validate(string input) { bool isValid = true; // todo: your validation return isValid ? Validation.Ok : Validation.Invalid("[todo: describe the validation]"); };
I should get:
[ValueObject<string>] public readonly partial struct RedemptionId { private static Validation Validate(string input) { bool isValid = true; // todo: your validation return isValid ? Validation.Ok : Validation.Invalid("[todo: describe the validation]"); } }
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Describe the bug
Given:
public partial readonly struct RedemptionId;
, when I alt+enter and do 'Add Validation Method', I get:Steps to reproduce
Given:
public partial readonly struct RedemptionId;
, when I alt+enter and do 'Add Validation Method', I get:Expected behaviour
I should get:
The text was updated successfully, but these errors were encountered: