Commit 1f9966b
Vadim Belov
Refactor EasyStackOptions and improve API usability
Renamed `AddAuthorization` to `AuthorizationEnabled` and changed its access modifier to `internal`. Added a new `AddAuthorization()` method to enable authorization with method chaining.
Enhanced `WithPostgres<TDbContext>()` to include an optional `useLazyLoadingProxies` parameter, allowing configuration of lazy loading proxies. Updated XML documentation for better clarity.
Updated `HostApplicationBuilderExtensions` to use the renamed `AuthorizationEnabled` property for consistency. Note: Exception message referencing "Set AddPostgres to true" remains unchanged and may need review.1 parent dfb12f9 commit 1f9966b
2 files changed
Lines changed: 23 additions & 5 deletions
File tree
- Sources/EasyExtensions.AspNetCore.Stack
- Builders
- Extensions
Lines changed: 22 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
23 | | - | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
24 | 34 | | |
25 | 35 | | |
26 | 36 | | |
| |||
31 | 41 | | |
32 | 42 | | |
33 | 43 | | |
34 | | - | |
35 | | - | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
36 | 54 | | |
37 | 55 | | |
38 | 56 | | |
39 | 57 | | |
40 | 58 | | |
41 | | - | |
| 59 | + | |
42 | 60 | | |
43 | 61 | | |
44 | 62 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
143 | 143 | | |
144 | 144 | | |
145 | 145 | | |
146 | | - | |
| 146 | + | |
147 | 147 | | |
148 | 148 | | |
149 | 149 | | |
| |||
0 commit comments