Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow @Unredacted classes & @Redacted child objects #212

Merged
merged 1 commit into from Apr 26, 2024

Conversation

DrewCarlson
Copy link
Contributor

Some small improvements to my previous changes:

  • Allow @Unredacted to be applied to a class, only when a supertype is @Redacted
  • Allow @Redacted supertypes to be inherited by objects, only when the child does not implement a custom toString method
  • Fail compilation when @Unredacted and @Redacted are applied to the same class

@ZacSweers ZacSweers merged commit 79efe4c into ZacSweers:main Apr 26, 2024
10 checks passed
@ZacSweers
Copy link
Owner

thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants