Commit b07b43e
committed
feat: Turn configuration into a first-class concept for Pavex
1 parent 65ca31f commit b07b43e
File tree
344 files changed
+10205
-2602
lines changed- .github/workflows
- ci_utils/templates/job_steps
- doc_examples
- guide
- configuration
- project
- server_sdk
- src
- src
- base
- cookies
- installation_with_default
- project
- server_sdk/src
- src
- installation
- dependency_injection/prebuilt
- sessions
- installation_memory
- project/src
- installation
- project/src
- quickstart
- docs
- getting_started/quickstart
- guide
- configuration
- cookies
- dependency_injection
- errors
- middleware
- project_structure
- request_data
- body
- deserializers
- path
- query
- routing
- sessions
- overview
- examples
- realworld
- app
- src
- configuration
- server_sdk
- src
- server
- configuration
- src
- bin
- configuration
- tests/integration
- workspace_hack
- starter
- app
- src
- configuration
- server_sdk
- src
- server
- src
- bin
- configuration
- tests/integration
- workspace_hack
- libs
- .cargo
- pavex_bp_schema/src
- pavex_macros
- src
- pavex_session_memory_store/src
- pavex_session_sqlx/src
- pavex_session/src
- pavex_test_runner/src
- pavexc_cli
- template
- .cargo
- app
- src
- configuration
- server
- src
- bin
- configuration
- tests/integration
- workspace_hack
- pavexc/src
- compiler
- analyses
- application_state
- call_graph
- borrow_checker
- components
- db
- user_components
- codegen
- component
- computation
- diagnostic
- language
- pavex
- src
- blueprint
- config
- constructor
- prebuilt
- config
- cookie
- request
- px_workspace_hack
- ui_tests
- app_builder/expectations
- blueprint
- common
- async_callable_are_supported/expectations
- components_can_fail/expectations
- config
- config_conflicts
- expectations
- src
- config_does_not_need_to_be_send_and_sync_if_only_used_at_build_time
- expectations
- src
- config_must_be_clone
- expectations
- src
- config_works
- expectations
- src
- invalid_config_keys
- expectations
- src
- invalid_config
- expectations
- src
- constructors
- a_warning_is_emitted_for_unused_constructors/expectations
- output_type_of_constructors_can_contain_generic_parameters/expectations
- singleton_naming/expectations
- static_references_are_valid_singletons/expectations
- the_latest_registered_constructor_takes_precedence/expectations
- the_same_constructor_can_be_registered_multiple_times_using_the_same_lifecycle/expectations
- unused_constructor_warning_can_be_ignored/expectations
- error_handlers/error_handlers_can_take_pavex_error_rather_than_specific_error_type/expectations
- nesting
- application_state_should_include_runtime_singletons_from_all_scopes/expectations
- multiple_levels_of_nesting_are_supported/expectations
- nesting_hides_constructors_of_the_nested_bp_to_the_parent_bp/expectations
- post_processing_middlewares
- finalizer_pattern/expectations
- post_process_without_wrapping/expectations
- pre_processing_middlewares/pre_process_without_wrapping/expectations
- prebuilts
- invalid_prebuilt/expectations
- prebuilt_does_not_need_to_be_send_and_sync_if_only_used_at_build_time
- expectations
- prebuilt_works/expectations
- prebuilts_can_be_cloned/expectations
- unused_prebuilt/expectations
- router
- domain_routing
- expectations
- integration/tests
- fallback_priority
- expectations
- integration/tests
- http_method_routing_variants/expectations
- request_handlers_can_take_mut_references/expectations
- borrow_checker
- across_middlewares/type_is_cloned_if_consumed_by_wrap_but_needed_by_post/expectations
- control_flow/you_can_consume_a_non_cloneable_type_from_two_different_control_flow_branches/expectations
- diamond
- diamond_can_be_solved_if_type_is_copy/expectations
- diamond_can_be_solved_if_we_can_clone/expectations
- mixed_mutability/expectations
- multiple_consumers
- a_clonable_framework_type_can_be_moved_twice/expectations
- a_clonable_input_type_can_be_moved_twice/expectations
- a_clonable_type_can_be_moved_twice_when_building_app_state/expectations
- a_clonable_type_can_be_moved_twice/expectations
- a_copy_type_can_be_moved_twice/expectations
- triangle
- triangle_can_be_solved_if_framework_type_is_clonable/expectations
- triangle_can_be_solved_if_input_type_is_clonable/expectations
- triangle_can_be_solved_if_type_is_clonable/expectations
- triangle_can_be_solved_if_type_is_copy/expectations
- triangle_with_middleware_can_be_solved_if_type_is_clonable/expectations
- connection_info
- connection_info_fallback_happy_path
- expectations
- integration/tests
- connection_info_happy_path
- expectations
- integration/tests
- dependency_injection
- clone_nodes_are_only_added_where_needed/expectations
- downstream_code_needs_both_owned_and_ref_to_same_type/expectations
- elided_lifetimes_are_handled/expectations
- fallbacks_can_access_all_primitives/expectations
- missing_handler_dependency/expectations
- missing_singleton_dependency/expectations
- next_state_is_populated_correctly/expectations
- pavex_honors_the_restrictions_on_generics_introduced_by_constructors/expectations
- references_to_constructible_types_are_allowed/expectations
- error_observers
- error_observer_with_generic_error/expectations
- error_observers_can_depend_on_fallible_singletons/expectations
- error_observers_happy_path/expectations
- middlewares
- middlewares_execution_order
- expectations
- integration/tests
- next_handles_lifetimes/expectations
- next_handles_mut_references/expectations
- path_parameters/path_parameters_happy_path
- expectations
- integration/tests
- reflection
- always_use_public_path/expectations
- ambiguous_dependency_version_is_handled/expectations
- arc_singletons_are_supported/expectations
- common_response_types_are_supported/expectations
- crate_resolution
- dependencies_can_register_local_items/expectations
- multiple_versions_for_the_same_crate_are_supported/expectations
- transitive_dependencies_can_be_renamed/expectations
- generic_handlers_are_supported/expectations
- generic_parameters_can_come_from_another_crate/expectations
- lifetime_restrictions_are_handled/expectations
- local_glob_reexports_are_supported/expectations
- non_static_methods_are_supported/expectations
- pattern_bindings_in_input_parameters_are_supported/expectations
- reexported_type_alias_work/expectations
- relative_paths_prefixed_with_self_are_supported/expectations
- relative_paths_prefixed_with_super_are_supported/expectations
- self_as_generic_parameter_is_supported/expectations
- static_methods_are_supported/expectations
- trait_methods_are_supported/expectations
- trait_methods_with_non_local_generics_are_supported/expectations
- tuples_are_supported/expectations
- type_alias_are_supported/expectations
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
344 files changed
+10205
-2602
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
977 | 977 | | |
978 | 978 | | |
979 | 979 | | |
980 | | - | |
981 | | - | |
982 | | - | |
983 | | - | |
984 | | - | |
985 | | - | |
986 | | - | |
987 | | - | |
| 980 | + | |
988 | 981 | | |
989 | 982 | | |
990 | 983 | | |
| |||
1001 | 994 | | |
1002 | 995 | | |
1003 | 996 | | |
1004 | | - | |
| 997 | + | |
1005 | 998 | | |
1006 | 999 | | |
1007 | 1000 | | |
| |||
1025 | 1018 | | |
1026 | 1019 | | |
1027 | 1020 | | |
| 1021 | + | |
1028 | 1022 | | |
1029 | 1023 | | |
1030 | 1024 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
| 23 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
15 | | - | |
| 15 | + | |
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
| 23 | + | |
23 | 24 | | |
24 | 25 | | |
25 | 26 | | |
26 | 27 | | |
27 | | - | |
| 28 | + | |
28 | 29 | | |
29 | 30 | | |
30 | 31 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | | - | |
11 | | - | |
12 | | - | |
13 | | - | |
14 | | - | |
15 | | - | |
16 | | - | |
17 | | - | |
| 10 | + | |
18 | 11 | | |
19 | 12 | | |
20 | 13 | | |
| |||
31 | 24 | | |
32 | 25 | | |
33 | 26 | | |
34 | | - | |
| 27 | + | |
35 | 28 | | |
36 | 29 | | |
37 | 30 | | |
| |||
55 | 48 | | |
56 | 49 | | |
57 | 50 | | |
| 51 | + | |
58 | 52 | | |
59 | 53 | | |
60 | 54 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
Whitespace-only changes.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
0 commit comments