Skip to content

!feat: json responses instead of model class instances - #553

Merged
Justin Hammond (Justintime50) merged 1 commit into
masterfrom
428_json_formatted_responses
Jul 29, 2026
Merged

!feat: json responses instead of model class instances#553
Justin Hammond (Justintime50) merged 1 commit into
masterfrom
428_json_formatted_responses

Conversation

@Justintime50

@Justintime50 Justin Hammond (Justintime50) commented Jul 28, 2026

Copy link
Copy Markdown
Member

Description

API resource responses are now plain JSON-compatible objects rather than model class instances.

Retains json-compatible response objects, instance helper methods like lowestRate, and instanceof model checks from before.

Closes #428

Testing

Ran a one-off test to ensure printed json responses were plain JSON and not instance model classes. Test suite also passes with no test-suite changes.

Pull Request Type

Please select the option(s) that are relevant to this PR.

  • 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 not work as expected)
  • Improvement (fixing a typo, updating readme, renaming a variable name, etc)

@Justintime50
Justin Hammond (Justintime50) marked this pull request as ready for review July 29, 2026 15:07
@Justintime50
Justin Hammond (Justintime50) merged commit 616042b into master Jul 29, 2026
18 checks passed
@Justintime50
Justin Hammond (Justintime50) deleted the 428_json_formatted_responses branch July 29, 2026 15:15
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.

[Feat]: Valid JSON formatted response

3 participants