Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

[BSS-104] Make response component as serializable #50

Merged
merged 1 commit into from
Jan 25, 2025
Merged

Conversation

shahmal1yev
Copy link
Owner

  • Updated ResponseContract to extend Stringable and JsonSerializable interfaces.
  • Added __toString() and jsonSerialize() methods in BaseResponse for JSON serialization and string representation.
  • Enhanced BaseResponseTest with a new test case to validate serialization functionality.

- Updated ResponseContract to extend Stringable and JsonSerializable interfaces.
- Added `__toString()` and `jsonSerialize()` methods in BaseResponse for JSON serialization and string representation.
- Enhanced BaseResponseTest with a new test case to validate serialization functionality.
Copy link

@shahmal1yev shahmal1yev self-assigned this Jan 25, 2025
@shahmal1yev shahmal1yev added the enhancement New feature or request label Jan 25, 2025
@shahmal1yev shahmal1yev merged commit ed7d774 into 1.x Jan 25, 2025
5 checks passed
@shahmal1yev shahmal1yev deleted the bss-104 branch January 25, 2025 10:58
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant