Skip to content

Commit

Permalink
Removing mention of generated runtime types.
Browse files Browse the repository at this point in the history
  • Loading branch information
diegofrata authored Apr 24, 2023
1 parent 9c9c541 commit 5e1a1e9
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,7 @@ Keep reading to learn how to add the attributes to your types.
Migrating to version 3 is very straightforward.

1. Ensure projects are targeting C# 9.0 or latter using the MSBuild property `LangVersion`.
2. Remove reference the package `Generator.Equals.Runtime`. Attributes and equality comparers are now generated directly into the target project and no longer requires referencing a runtime package.
3. Be aware that `IEquatable<T>` for classes is now implemented explicitly in order to support deep equality. As a result, the method `Equals(T)` method is no longer marked as public. Most code should still work, requiring only to be recompiled as the ABI has changed.
2. Be aware that `IEquatable<T>` for classes is now implemented explicitly in order to support deep equality. As a result, the method `Equals(T)` method is no longer marked as public. Most code should still work, requiring only to be recompiled as the ABI has changed.

If you have an existing project using `Generator.Equals` and don't need any of the new features, you can still use version 2.x. The differences are minimal between both major versions.

Expand Down Expand Up @@ -217,4 +216,4 @@ partial class Doctor : Person
public string Id { get; set; }
public string Specialization { get; set; }
}
```
```

0 comments on commit 5e1a1e9

Please sign in to comment.