vaadin / vaadin/spring

Component annotation shortcuts

Open
#400 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
Java
Stars
186
Forks
98
PR merge metrics
No merged PRs in 30d

Description

I'm using Spring DI in Vaadin with great satisfaction! These combinations of annotations provide great usability and performance in components and data providers:

  • for data providers:
@UIScope
@Component
public class MyDataProvider extends AbstractBackendDataProvider...
  • for components:
@Lazy
@UIScope
@Component
public class MyComponent extends ...

It would be handy to have shortcuts for this annotation combinations, e.g.

  • @UIComponent for @UIScope @Component
  • @UIComponentLazy for @Lazy @UIScope @Component

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No files or tests are named in the issue. Start by locating the annotation integration and its test coverage; then verify how @UIScope, @Component, and @Lazy are composed. Done means both requested shortcuts are available and tests cover the two annotation combinations.

Written by the indexing model from the issue text.

Assessment

Tech stack
java, spring
Domain
developer-experience
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
40/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.