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: reimplement @RouteScoped to keep beans for PreserveOnRefresh #370

Merged
merged 4 commits into from
Jun 7, 2021

Conversation

denis-anisimov
Copy link

@denis-anisimov denis-anisimov commented Jun 4, 2021

  • presere beans for PreserveOnRefresh views
  • reimplement absent RouteScopeOwner semantic
  • do not allow to use (route) scope when it's not available

fixes #369

Description

Please list all relevant dependencies in this section and provide summary of the change, motivation and context.

Fixes # (issue)

Type of change

  • Bugfix
  • Feature

Checklist

  • I have read the contribution guide: https://vaadin.com/docs/latest/guide/contributing/overview/
  • I have added a description following the guideline.
  • The issue is created in the corresponding repository and I have referenced it.
  • I have added tests to ensure my change is effective and works as intended.
  • New and existing tests are passing locally with my change.
  • I have performed self-review and corrected misspellings.

Additional for Feature type of change

  • Enhancement / new feature was discussed in a corresponding GitHub issue and Acceptance Criteria were created.

- presere beans for PreserveOnRefresh views
- reimplement absent RouteScopeOwner semantic
- do not allow to use (route) scope when it's not available

fixes #369
Copy link
Contributor

@pleku pleku left a comment

Choose a reason for hiding this comment

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

Let's merge #371 before this though so we get a correct snapshot version

@denis-anisimov denis-anisimov merged commit c4c6d37 into master Jun 7, 2021
@denis-anisimov denis-anisimov deleted the 369-route-scoped branch June 7, 2021 14:28
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.

Align @RouteScoped implementation with @RouteScope impl for Spring add-on
2 participants