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

Update Diverter to return existing Redirects from its RedirectSet #52

Merged
merged 1 commit into from
Dec 30, 2022

Conversation

devodo
Copy link
Owner

@devodo devodo commented Dec 30, 2022

Previously a Diverter instance only allowed retrieval of Redirects. If an attempt was made to retrieve an unregistered Redirect a DiverterException was thrown.

This update is to extend a Diverter instance to also be able to retrieve any existing Redirect from its RedirectSet. So, for example, if a Redirect has been inserted into the RedirectSet from a ViaRedirect this allows it to be retrieved directly from the Diverter instance.

@devodo devodo merged commit baf4274 into main Dec 30, 2022
@devodo devodo deleted the task/diverter_retrieve_from_redirectset branch December 30, 2022 18:11
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