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

Replace nested redirect builders with flat extend builders #74

Merged
merged 1 commit into from
May 17, 2023

Conversation

devodo
Copy link
Owner

@devodo devodo commented May 16, 2023

Replace nested redirect builders with flat extend child builders. The nested builder syntax can get complicated and messy with multiple levels of nested lambdas.

The new approach also introduces an additional child builder layer for supporting To call expression filtering.

@devodo devodo force-pushed the task/diverter_builder_refactor branch from 18cf8e6 to 4bab212 Compare May 16, 2023 15:13
@devodo devodo force-pushed the task/diverter_builder_refactor branch from 4bab212 to 7b25c4c Compare May 17, 2023 13:19
@devodo devodo changed the title Rename IDiverterBuilder.AddRedirect to WithRedirect Replace nested redirect builders with flat extend builders May 17, 2023
@devodo devodo merged commit acd6af3 into main May 17, 2023
@devodo devodo deleted the task/diverter_builder_refactor branch May 17, 2023 13:27
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