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

Comparison with StronglyTypedId #5

Open
phaza opened this issue Oct 19, 2023 · 1 comment
Open

Comparison with StronglyTypedId #5

phaza opened this issue Oct 19, 2023 · 1 comment

Comments

@phaza
Copy link

phaza commented Oct 19, 2023

This package is based on the same blog post by @andrewlock, and he's also made a nuget available: https://github.com/andrewlock/StronglyTypedId

It would be nice to have some kind of comparison between the two to highlight the differences.

@lucasteles
Copy link
Owner

lucasteles commented Oct 20, 2023

It is in fact a fork of the @andrewlock package.

It is a good idea to have a base comparison section on the readme, I can do it later.

For anyone reading this, at the top of my head some features I have added are:

  • Performance improvements on Incremental SG Cache
  • Performance improvements with lazy loaded templates
  • Add more base types (float, double, decimal, short, byte, BigInteger, nint)
  • Record types support
  • Parse/TryParse implementation (with .NET7 IParsable<> support)
  • implicit/explicit casting implementation
  • IFormattable implementation
  • Numeric/Math operators implementation
  • Custom constructor support
  • Better debugger display
  • Custom Guid factory methods
    • Using NewId.NextSequentialGuid‎
    • Using Comb algorithm based on NHibernate implementation
  • Suporte for Swagger Annotations
  • Separated package for EF Core

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

No branches or pull requests

2 participants