Skip to content

[CC-4151] Expose raw API response string on Keypair resource - #240

Open
Ryouzanpaku wants to merge 1 commit into
mainfrom
CC-4151/keypair-raw-response
Open

Ryouzanpaku wants to merge 1 commit into
mainfrom
CC-4151/keypair-raw-response

Conversation

@Ryouzanpaku

Copy link
Copy Markdown
Contributor

Summary

  • Unzer::fetchKeypair() now preserves the exact raw JSON string returned by the API and exposes it via the new Keypair::getRawResponse(): ?string.
  • ResourceService::send() is split into a private sendRaw() and a decode step, so send() behaves as before. Only fetchKeypair() uses the raw path, so no other resource types are affected.
  • The raw string is stored in a private property, so it is never part of expose() or jsonSerialize().
  • Keypair hydration is unchanged.

Jira: CC-4151

🤖 Generated with Claude Code

@Ryouzanpaku
Ryouzanpaku requested a review from a team as a code owner October 14, 2026 14:37

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant