Skip to content
This repository was archived by the owner on Jul 5, 2023. It is now read-only.

Conversation

@denisvieira-dev
Copy link
Collaborator

No description provided.

@denisvieira-dev denisvieira-dev marked this pull request as ready for review June 26, 2023 12:10
@rochar rochar self-requested a review July 4, 2023 13:46
Copy link
Collaborator

@rochar rochar left a comment

Choose a reason for hiding this comment

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

Looks good, its ok for me. Just a small change that you can do a a test class name

Copy link
Collaborator

Choose a reason for hiding this comment

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

You can remove Nox from the class Name

/// </summary>
public sealed class CurrencyCode3 : ValueObject<string, CurrencyCode3>
{
private readonly string[] CurrencyCodes = Enum.GetNames(typeof(CurrencyCode));
Copy link
Contributor

Choose a reason for hiding this comment

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

Can we put this as a private readonly static variable? Also, can we rename it using the following convention https://regusit.atlassian.net/wiki/spaces/NOX/pages/3153461266/Coding+Conventions+Styles+and+Guidelines#Private-static-fields ?

@@ -0,0 +1,53 @@
using Nox.Types.Tests.Types;
Copy link
Contributor

Choose a reason for hiding this comment

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

Can we write the tests using FluentAssertions, as it was agreed before?

https://regusit.atlassian.net/wiki/spaces/NOX/pages/3153264693/Test+Projects

Copy link
Contributor

@dejobratic dejobratic left a comment

Choose a reason for hiding this comment

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

Looks good to me. Added a few small comments.

@dejobratic
Copy link
Contributor

Nox.Types was merged to Nox.Generator. Because of that this PR cannot be merged, so @denisvieira-dev please create a new PR for this type in Nox.Generator.

https://github.com/NoxOrg/Nox.Generator/tree/main/src

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants