Patrik Eklöf

Results 6 comments of Patrik Eklöf

I don't know what's up with Github not formatting code correctly. Not sure how to do it, but great that you could still understand my example! If you're up for...

A TryFrom method would absolutely be a boon. But I also think that a bigger boon would be the ability to remove static methods like From and TryFrom and either...

Was what was added only the interface so we could do a .From on a type parameter, as in the example in the documentation? My idea was more to eliminate...

Well, one situation where one might want to mock value objects is when one specifically want to be able to create invalid units for something like testing how a system...

Hi @SteveDunn I'm aware of static interfaces, but purposely opt to not use them due to downsides and limits. But also there is the fact that Vogen's current From method...

I will see if I can find the time to submit a PR for it. I believe it should be doable in a performant way using spans.