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

Refactor HTTP response #1150

Merged

Conversation

lucifercr07
Copy link
Contributor

@lucifercr07 lucifercr07 commented Oct 18, 2024

  • Refactor writeResponse method to segregate migrated response handling
  • Added support for parsing []interface{} as part of EvalResponse
  • Added integration tests

Copy link
Contributor

@AshwinKul28 AshwinKul28 left a comment

Choose a reason for hiding this comment

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

The changes look great. @lucifercr07 Thanks a lot for this quick fix and code refactoring for HTTP Writeresponse. Left couple of thoughts around code commenting.

internal/server/httpServer.go Show resolved Hide resolved
internal/server/httpServer.go Show resolved Hide resolved
Copy link
Contributor

@AshwinKul28 AshwinKul28 left a comment

Choose a reason for hiding this comment

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

Thanks @lucifercr07 looks good to me.

@AshwinKul28 AshwinKul28 merged commit 91f3d2b into DiceDB:master Oct 19, 2024
2 checks passed
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.

2 participants