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

fix: ignore absence of file-routes.json at startup in dev mode #2423

Merged
merged 3 commits into from
May 15, 2024

Conversation

taefi
Copy link
Contributor

@taefi taefi commented May 14, 2024

Description

Fixes #2408

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.

Copy link

codecov bot commented May 14, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 95.11%. Comparing base (fc28395) to head (e98c725).

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #2423   +/-   ##
=======================================
  Coverage   95.11%   95.11%           
=======================================
  Files          66       66           
  Lines        4507     4507           
  Branches      645      645           
=======================================
  Hits         4287     4287           
  Misses        179      179           
  Partials       41       41           
Flag Coverage Δ
unittests 95.11% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Artur-
Artur- previously approved these changes May 15, 2024
…ientRouteRegistry.java

Co-authored-by: Artur <artur@vaadin.com>
@ZheSun88 ZheSun88 enabled auto-merge (squash) May 15, 2024 08:08
Copy link

sonarcloud bot commented May 15, 2024

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
No data about Duplication

See analysis details on SonarCloud

@ZheSun88 ZheSun88 merged commit 4372524 into main May 15, 2024
15 checks passed
@ZheSun88 ZheSun88 deleted the taefi/fix-2408 branch May 15, 2024 08:20
ZheSun88 added a commit that referenced this pull request May 15, 2024
* fix: ignore absence of file-routes.json at startup in dev mode

Fixes #2408

* apply suggestions from code review

* Update packages/java/endpoint/src/main/java/com/vaadin/hilla/route/ClientRouteRegistry.java

Co-authored-by: Artur <artur@vaadin.com>

---------

Co-authored-by: Zhe Sun <31067185+ZheSun88@users.noreply.github.com>
Co-authored-by: Artur <artur@vaadin.com>
ZheSun88 added a commit that referenced this pull request May 15, 2024
… (CP: 24.4) (#2426)

fix: ignore absence of file-routes.json at startup in dev mode (#2423)

* fix: ignore absence of file-routes.json at startup in dev mode

Fixes #2408

* apply suggestions from code review

* Update packages/java/endpoint/src/main/java/com/vaadin/hilla/route/ClientRouteRegistry.java



---------

Co-authored-by: Soroosh Taefi <taefi.soroosh@gmail.com>
Co-authored-by: Zhe Sun <31067185+ZheSun88@users.noreply.github.com>
Co-authored-by: Artur <artur@vaadin.com>
@vaadin-bot
Copy link
Collaborator

This ticket/PR has been released with Hilla 24.5.0.alpha1 and is also targeting the upcoming stable 24.5.0 version.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

file-routes.json cannot be found
4 participants