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

feat: extract configs/secrets in kotlin #1111

Merged
merged 1 commit into from
Mar 20, 2024

Conversation

worstell
Copy link
Contributor

fixes #1092

@alecthomas alecthomas mentioned this pull request Mar 19, 2024
@worstell worstell force-pushed the worstell/20240319-extract-secrets-configs-in-kotlin branch 2 times, most recently from d612b53 to 946088f Compare March 20, 2024 00:04
@worstell worstell force-pushed the worstell/20240319-extract-secrets-configs-in-kotlin branch from a73f8eb to e1a708b Compare March 20, 2024 00:06
return file.declarations
.filter {
(it as? KtProperty)
?.getDeclarationDescriptorIncludingConstructors(bindingContext)?.referencedProperty?.returnType
Copy link
Collaborator

Choose a reason for hiding this comment

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

getDeclarationDescriptorIncludingConstructors

Nice succinct method!

@worstell worstell merged commit 80b91c3 into main Mar 20, 2024
11 checks passed
@worstell worstell deleted the worstell/20240319-extract-secrets-configs-in-kotlin branch March 20, 2024 17:31
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.

Extract configs + secrets in Kotlin schema
2 participants