Skip to content

Conversation

@frozzare
Copy link
Member

Type of change

  • New feature
  • Bug fix
  • Security patch
  • Documentation update

Description

Simplify code and target only netstandard2.1

Related issue

Motivation

Checklist

  • I have read the CONTRIBUTING document.
  • I have read and accepted the Code of conduct
  • Tests passes.
  • Style lints passes.
  • Documentation of new public methods exists.

[ClassData(typeof(ValidCnDataProvider))]
public void TestAgeCn(PersonnummerData ssn)
{
var timeProvider = new TestTimeProvider();
Copy link
Member

Choose a reason for hiding this comment

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

I think we want to keep the TimeProvider, seeing its a dotnet implementation of what the Clock does and made for making code easier to test :)

Its a bit messy due to the Pragmas for DOTNET_8, but its a minor diff between netstandard/net8+ versions. And it's only really there to allow support for dotnet framework.

<PackageIcon>icon.png</PackageIcon>
<PackageReadmeFile>Readme.md</PackageReadmeFile>
<IncludeDocumentationProjectOutputGroup>true</IncludeDocumentationProjectOutputGroup>
<TargetFramework>netstandard2.1</TargetFramework>
Copy link
Member

Choose a reason for hiding this comment

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

I think we might want to directly target some of the versions. Will have to think about this one and if there are issues with just targeting netstandard...

It would ofc make it easier code-wize, but unsure if its the best way.

@frozzare frozzare closed this Jan 15, 2026
@frozzare frozzare deleted the netstandard-target branch January 22, 2026 13:58
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

Successfully merging this pull request may close these issues.

3 participants