Generator.Equals
Generator.Equals copied to clipboard
A source code generator for automatically implementing IEquatable<T> using only attributes.
I'm not sure, just for fyi https://github.com/diegofrata/Generator.Equals/blob/main/Generator.Equals/EqualsGenerator.cs#L35 Using `Compilation` inside the generator pipeline renders it is non-incremental. Additional details is here https://github.com/zompinc/sync-method-generator/issues/20
Fixes https://github.com/diegofrata/Generator.Equals/issues/60 Builds on https://github.com/diegofrata/Generator.Equals/pull/62 , so you may want to merge this first
Restructure the project to be more like https://github.com/ImmediatePlatform/Immediate.Validations
Add diagnostics so that the generator doesnt fail silently. ref: https://github.com/diegofrata/Generator.Equals/pull/62/files/75f67a8c7c517d502987c668ff946719192bbbf2#diff-97ff276eeed3acb7f795a9c2b3a447fc31e7b73cb36251152011515288958b2dR32
This is to be able to setup the default comparer for all properties at once.
First of all, thanks for this amazing project! It has snuck its way into many projects of mine. As a small suggestion, it might be really helpful if it'd be...
Adds global options Bases on https://github.com/diegofrata/Generator.Equals/pull/63