-
-
Notifications
You must be signed in to change notification settings - Fork 203
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
Conforming Response to Codable #230
Conversation
Code Coverage Report
SwiftLint found issues
Generated by 🚫 Danger Swift against 2f422bf |
@marcelmendesfilho, thanks for your contribution! Can you elaborate on why you need this change? Btw, the tests are currently failing. |
hi @AvdLee thanks for asking! The use case is this: I want to create a generic fetcher that accepts any AppStoreConnect request. As an example, see the method signature below:
Conforming Response to Coddle allows me to have this generic fetcher and I've thought that it would be a nice addition to the package. |
4835615
to
2ba83dc
Compare
@marcelmendesfilho sounds good, but let's make sure the tests are green! |
I'm working on it. |
@AvdLee looks like we're ready to go with this PR ;-) |
Yes, thanks for fixing the test and your contribution! |
This very small PR conforms Response object to Codable so it can be used as a generic object.