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

Make ErrorReason public #45

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Make ErrorReason public #45

wants to merge 1 commit into from

Conversation

lmlynik
Copy link

@lmlynik lmlynik commented Jan 22, 2025

This PR resolves an issue with accessing the ErrorMessage class and its message() method in a legacy Scala codebase. The change involves adjusting the visibility of the ErrorReason interface to make it explicitly public.

The issue surfaced when integrating the Clerk backend API into a legacy Scala codebase that uses older Jackson libraries. While shading the Jackson library was required for compatibility, it's unclear if this specifically caused the accessibility issue with the ErrorReason interface.

By explicitly marking the interface as public, this change ensures compatibility and resolves the accessibility problem.
The modification is minimal, aligns with Java's standard visibility practices, and avoids unnecessary complexity.

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.

1 participant