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

Feature | V2 - Simplified responses and created one single response #135

Merged
merged 5 commits into from
Dec 21, 2022

Conversation

Sammyjo20
Copy link
Collaborator

This PR simplifies Saloon's responses by removing the requirement for a sender to provide a response. I've also massively simplified the resolveResponse logic which before was quite a big method.

Previously, you could only specify custom responses that extended the base one. You can still do that now, but it now supports your own implementation.

Copy link
Collaborator Author

@Sammyjo20 Sammyjo20 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Self review

@Sammyjo20 Sammyjo20 marked this pull request as ready for review December 20, 2022 22:28
Copy link
Collaborator Author

@Sammyjo20 Sammyjo20 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Self review

@Sammyjo20 Sammyjo20 merged commit c75650e into v2 Dec 21, 2022
@Sammyjo20 Sammyjo20 deleted the feature/v2-simplified-responses branch December 27, 2022 15:35
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.

None yet

1 participant