Skip to content

feat: Add more builder methods for RoadsterApp - #370

Merged
spencewenski merged 1 commit into
mainfrom
more-builder-methods
Sep 15, 2024
Merged

feat: Add more builder methods for RoadsterApp#370
spencewenski merged 1 commit into
mainfrom
more-builder-methods

Conversation

@spencewenski

Copy link
Copy Markdown
Member

Allow providing most fields of the RoadsterApp directly instead of in provider callback methods. This can be useful if the consumer doesn't need the app context/state to build an item and they don't want to deal with creating a callback lambda/method.

The app-builder example was updated to use all the new methods.

Allow providing most fields of the `RoadsterApp` directly instead of in
provider callback methods. This can be useful if the consumer doesn't
need the app context/state to build an item and they don't want to deal
with creating a callback lambda/method.

The `app-builder` example was updated to use all the new methods.
@codecov

codecov Bot commented Sep 15, 2024

Copy link
Copy Markdown

Codecov Report

Attention: Patch coverage is 10.78431% with 91 lines in your changes missing coverage. Please review.

Project coverage is 43.09%. Comparing base (c07f57f) to head (7d45c12).
Report is 1 commits behind head on main.

Files with missing lines Patch % Lines
src/app/roadster_app.rs 0.00% 84 Missing ⚠️
src/lifecycle/registry.rs 0.00% 7 Missing ⚠️
Files with missing lines Coverage Δ
src/app/mod.rs 0.00% <ø> (ø)
src/health_check/registry.rs 96.96% <100.00%> (+0.30%) ⬆️
src/service/registry.rs 98.03% <100.00%> (-0.11%) ⬇️
src/lifecycle/registry.rs 0.00% <0.00%> (ø)
src/app/roadster_app.rs 0.00% <0.00%> (ø)

Continue to review full report in Codecov by Sentry.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update c07f57f...7d45c12. Read the comment docs.

@spencewenski
spencewenski merged commit c134d6e into main Sep 15, 2024
@spencewenski
spencewenski deleted the more-builder-methods branch September 15, 2024 19:31
@github-actions github-actions Bot mentioned this pull request Sep 15, 2024
spencewenski added a commit that referenced this pull request Sep 15, 2024
## 🤖 New release
* `roadster`: 0.6.2 -> 0.6.3

<details><summary><i><b>Changelog</b></i></summary><p>

<blockquote>

##
[0.6.3](roadster-v0.6.2...roadster-v0.6.3)
- 2024-09-15

### Added

- Add more builder methods for `RoadsterApp`
([#370](#370))
- Builder-style API for `App`
([#367](#367))

### Other

- Fix CI build step name
([#372](#372))
- Add logs for successful health checks
([#371](#371))
- Restructure configs for leptos-ssr example
([#364](#364))
</blockquote>


</p></details>

---
This PR was generated with
[release-plz](https://github.com/MarcoIeni/release-plz/).

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Spencer Ferris <3319370+spencewenski@users.noreply.github.com>
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