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

“Friend” API restriction #25

Open
jglick opened this issue Jul 17, 2020 · 0 comments
Open

“Friend” API restriction #25

jglick opened this issue Jul 17, 2020 · 0 comments

Comments

@jglick
Copy link
Member

jglick commented Jul 17, 2020

Some APIs are intended to be stable but only used by a specific predefined list of “friend” components, so NoExternalUse is impossible and Beta is misleading. Would be nice to be able to write something like

@Restricted(Friend.class)
@Friends("some.other.project.and.its.Class")
public void specialHook() {…}
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

No branches or pull requests

1 participant