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 Responses with DTO #8

Open
bhushan opened this issue May 2, 2021 · 0 comments
Open

Replace Responses with DTO #8

bhushan opened this issue May 2, 2021 · 0 comments
Labels
help wanted Extra attention is needed

Comments

@bhushan
Copy link
Owner

bhushan commented May 2, 2021

It Will be a huge task as

  • Check the Spatie DTO package if it adds value, we will use it, otherwise, go for a simple standard PHP object
  • Create DTOs for a different response from APIs
  • How to handle different statuses from API using DTO?
  • How to give a response back if we get a failure response from PingPing API as DTO?
@bhushan bhushan added the help wanted Extra attention is needed label May 2, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant