Commit 11cf617
Switch generators to use data abstraction layer (#88)
* Initial plan
* Switch generators to use data abstraction layer (DataGeneratorsFactory/DataMethodBodyBuilders)
- Replace RecordingGeneratorsFactory with DataGeneratorsFactory for fluent pattern execution
- Update embedded resources in csproj to use DataBuilding files
- Add FluentBodyResult and ExecuteFluentBodyGeneratorMethod to execution runtime
- Add using System to embedded resource files for compilation compatibility
- Update GeneratesMethodGenerationPipeline to route fluent pattern through data layer
- Comment out SwitchCase/SwitchDefault attribute-based generation (pending replacement)
- Comment out fluent switch tests and examples
- Replace MethodBodyBuilderTests with DataMethodBodyBuilder tests
- Replace RecordingGeneratorsFactoryTests with DataGeneratorsFactory tests
- Comment out MocksTests (reference non-existent old types)
- Comment out SwitchCase-related diagnostic tests
Co-authored-by: dex3r <3155725+dex3r@users.noreply.github.com>
Agent-Logs-Url: https://github.com/dex3r/EasySourceGenerators/sessions/8070e196-96aa-4613-adf2-2df1ce631bfe
* Add integration tests for fluent BodyReturningConstant pattern via data abstraction layer
Co-authored-by: dex3r <3155725+dex3r@users.noreply.github.com>
Agent-Logs-Url: https://github.com/dex3r/EasySourceGenerators/sessions/8070e196-96aa-4613-adf2-2df1ce631bfe
* Address code review: remove deprecated ExecuteFluentGeneratorMethod, improve ExtractBodyGenerationData fallback, comment out dead switch code in source builder
Co-authored-by: dex3r <3155725+dex3r@users.noreply.github.com>
Agent-Logs-Url: https://github.com/dex3r/EasySourceGenerators/sessions/8070e196-96aa-4613-adf2-2df1ce631bfe
---------
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: dex3r <3155725+dex3r@users.noreply.github.com>1 parent 6ff58e5 commit 11cf617
22 files changed
Lines changed: 520 additions & 372 deletions
File tree
- EasySourceGenerators.Examples
- EasySourceGenerators.GeneratorTests
- EasySourceGenerators.Generators
- DataBuilding
- EasySourceGenerators.Tests
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
2 | 6 | | |
3 | 7 | | |
4 | 8 | | |
| |||
18 | 22 | | |
19 | 23 | | |
20 | 24 | | |
| 25 | + | |
21 | 26 | | |
22 | 27 | | |
23 | 28 | | |
| |||
Lines changed: 48 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
200 | 200 | | |
201 | 201 | | |
202 | 202 | | |
| 203 | + | |
| 204 | + | |
| 205 | + | |
203 | 206 | | |
204 | 207 | | |
205 | 208 | | |
| |||
246 | 249 | | |
247 | 250 | | |
248 | 251 | | |
| 252 | + | |
249 | 253 | | |
250 | 254 | | |
251 | | - | |
| 255 | + | |
| 256 | + | |
| 257 | + | |
| 258 | + | |
| 259 | + | |
| 260 | + | |
| 261 | + | |
| 262 | + | |
| 263 | + | |
| 264 | + | |
| 265 | + | |
| 266 | + | |
| 267 | + | |
| 268 | + | |
| 269 | + | |
| 270 | + | |
| 271 | + | |
| 272 | + | |
| 273 | + | |
| 274 | + | |
| 275 | + | |
| 276 | + | |
| 277 | + | |
| 278 | + | |
| 279 | + | |
| 280 | + | |
| 281 | + | |
| 282 | + | |
| 283 | + | |
| 284 | + | |
| 285 | + | |
| 286 | + | |
| 287 | + | |
| 288 | + | |
| 289 | + | |
| 290 | + | |
| 291 | + | |
| 292 | + | |
| 293 | + | |
| 294 | + | |
252 | 295 | | |
253 | 296 | | |
254 | 297 | | |
| |||
279 | 322 | | |
280 | 323 | | |
281 | 324 | | |
282 | | - | |
283 | | - | |
| 325 | + | |
| 326 | + | |
284 | 327 | | |
285 | | - | |
286 | | - | |
| 328 | + | |
| 329 | + | |
287 | 330 | | |
288 | 331 | | |
289 | 332 | | |
| |||
Lines changed: 15 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
89 | 89 | | |
90 | 90 | | |
91 | 91 | | |
| 92 | + | |
92 | 93 | | |
93 | 94 | | |
| 95 | + | |
94 | 96 | | |
95 | 97 | | |
96 | 98 | | |
| |||
166 | 168 | | |
167 | 169 | | |
168 | 170 | | |
| 171 | + | |
169 | 172 | | |
170 | 173 | | |
171 | 174 | | |
| |||
201 | 204 | | |
202 | 205 | | |
203 | 206 | | |
| 207 | + | |
204 | 208 | | |
205 | 209 | | |
| 210 | + | |
206 | 211 | | |
207 | 212 | | |
208 | 213 | | |
| |||
243 | 248 | | |
244 | 249 | | |
245 | 250 | | |
| 251 | + | |
246 | 252 | | |
247 | 253 | | |
248 | 254 | | |
| 255 | + | |
249 | 256 | | |
250 | 257 | | |
| 258 | + | |
251 | 259 | | |
252 | 260 | | |
253 | 261 | | |
| |||
299 | 307 | | |
300 | 308 | | |
301 | 309 | | |
| 310 | + | |
302 | 311 | | |
303 | 312 | | |
304 | 313 | | |
| |||
358 | 367 | | |
359 | 368 | | |
360 | 369 | | |
| 370 | + | |
| 371 | + | |
361 | 372 | | |
362 | 373 | | |
363 | 374 | | |
| |||
382 | 393 | | |
383 | 394 | | |
384 | 395 | | |
| 396 | + | |
385 | 397 | | |
386 | 398 | | |
387 | 399 | | |
| |||
452 | 464 | | |
453 | 465 | | |
454 | 466 | | |
| 467 | + | |
455 | 468 | | |
456 | 469 | | |
| 470 | + | |
457 | 471 | | |
458 | 472 | | |
459 | 473 | | |
| |||
483 | 497 | | |
484 | 498 | | |
485 | 499 | | |
| 500 | + | |
486 | 501 | | |
0 commit comments