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

Set generated value visibility modifier public/internal #84

Open
AfanasievAnton opened this issue Jun 21, 2023 · 2 comments
Open

Set generated value visibility modifier public/internal #84

AfanasievAnton opened this issue Jun 21, 2023 · 2 comments

Comments

@AfanasievAnton
Copy link

Hi there! Are there a way to specify visibility modifier for FieldSpec`s?
I want to be able to have some values in BuildKonfig be publicaly available and some internal. Are there any way to achieve that right now?

@yshrsmz
Copy link
Owner

yshrsmz commented Jun 22, 2023

Hi, you can use exposeObjectWithName to change BuildKonfig's name & make it public.
Please refer to README for its usage.

@yshrsmz yshrsmz closed this as completed Jun 22, 2023
@yshrsmz yshrsmz reopened this Jun 22, 2023
@yshrsmz
Copy link
Owner

yshrsmz commented Jun 22, 2023

Oh sorry I misinterpreted your text.
Currently we don't support per-field visibility configuration.

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

2 participants