Skip to content
This repository has been archived by the owner on Sep 7, 2021. It is now read-only.

Feature/response modifier #10

Merged
merged 4 commits into from
Apr 8, 2020
Merged

Feature/response modifier #10

merged 4 commits into from
Apr 8, 2020

Conversation

jhoogstraat
Copy link
Contributor

Provide a way to annotate/customize the response body

Description

Add a ResponseModifier which maps the return value of the handler method to a CorvusResponse type. This type conforms to ResponseEncodable and can thus be returned to the user.

Related Issue

Closes 50% of #3

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

  • SwiftLint throws no warnings or errors.
  • I have updated the documentation accordingly.
  • I have added tests to cover my changes.
  • All new and existing tests passed.

@bmikaili bmikaili merged commit f87f948 into Apodini:develop Apr 8, 2020
@jhoogstraat jhoogstraat deleted the feature/response-modifier branch April 8, 2020 13:30
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants