-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(ClearProperty): don't inject into existing method
Existing methods most likely already handle clearing the property in a different way compared to just setting it to null. This fix allows to override the behavior by implementing the method manually. BREAKING CHANGE: The ClearPropertyMethod weaver no longer injects anything into the Clear method in case it already exists. An info logging statement has been added that can help to find the Clear method implementations and ensure it clears the property manually.
- Loading branch information
Christopher-Marcel Böddecker
committed
Jan 11, 2019
1 parent
79f9f7c
commit b52819d
Showing
1 changed file
with
22 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters