We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Batch loading in @ServiceDefinition is specified by the properties batch and batchName. These properties generates a new class. Example:
@ServiceDefinition
batch
batchName
@ServiceDefinition ( batch = true, batchName = "a.b.c.SomeBatch" ) interface SomeService { }
A better approach would be to replace these properties by one that specifies the class to use. Example:
@ServiceDefinition ( batchType = SomeBatch.class ) interface SomeService { } interface SomeBatch { Stream<SomeService > getProviders(); }
The text was updated successfully, but these errors were encountered:
Done in 6d43f0e
Sorry, something went wrong.
No branches or pull requests
Batch loading in
@ServiceDefinition
is specified by the propertiesbatch
andbatchName
. These properties generates a new class.Example:
A better approach would be to replace these properties by one that specifies the class to use.
Example:
The text was updated successfully, but these errors were encountered: