Skip to content

Conversation

@ghost
Copy link

@ghost ghost commented Jan 9, 2025

It's a bit ugly but seems like our best option since Java doesn't have any concept of internal packages. This mirrors the Go protovalidate package structure changes we did in bufbuild/protovalidate-go#173.

The primary goal of this PR is to reduce the surface area of incidental public API. We don't want to expose our internal logic since it is very likely to be refactored in incompatible ways, but many things in the internal package are currently publicly accessible.

@ghost ghost requested a review from pkwarren January 9, 2025 16:27
@ghost ghost requested a review from jhump January 21, 2025 17:12
Copy link
Member

@jhump jhump left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Makes sense to me.

@ghost ghost merged commit 967e898 into main Jan 23, 2025
4 checks passed
@ghost ghost deleted the jchadwick/api-refactor branch January 23, 2025 16:28
This pull request was closed.
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