You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Sorry this keeps coming up. You'd think I would remember. I tried looking into tools/build plugins we could use to catch this but I haven't found something so far. Checkstyle and Forbidden APIs didn't seem to have the feature of disallowing a method parameter or return type that matches a package pattern.
You can do these kinds of checks with ArchUnit I believe.
You can do these kinds of checks with ArchUnit I believe.
Originally posted by @ThomHurks in #2557 (comment)
Indeed it seems we can. I prototyped something like the following:
Thanks for the suggestions @ThomHurks.
The text was updated successfully, but these errors were encountered: