Skip to content

feat: make @scope repeatable to configure multiple scopes #255

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

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

Conversation

oraz
Copy link

@oraz oraz commented Apr 4, 2025

make @scope repeatable to configure multiple scopes
e.g.

@Scope(MyScope::class)
@Scope(MyAnotherScope::class)
class MyClass(val d : MyDependency)

will generate:

scope<MyScope> { 
     scoped { MyClass(get()) }
}
scope<MyAnotherScope> {
     scoped { MyClass(get()) } 
}

@oraz oraz force-pushed the feat_repeatable_scope branch 3 times, most recently from 318c37e to a318344 Compare April 4, 2025 19:52
@oraz oraz marked this pull request as ready for review April 4, 2025 20:14
@oraz oraz marked this pull request as draft April 4, 2025 20:20
@oraz oraz marked this pull request as ready for review April 4, 2025 20:20
@oraz oraz force-pushed the feat_repeatable_scope branch from a318344 to aec8c12 Compare April 4, 2025 22:20
@oraz oraz force-pushed the feat_repeatable_scope branch from aec8c12 to e386739 Compare April 5, 2025 12:04
@oraz oraz changed the title feat: make @Scope repeatable to configure scopes feat: make @scope repeatable to configure multiple scopes Apr 5, 2025
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