Skip to content

fix: preserves caller-provided plain PHP objects in request params (closes #392) - #393

Open
Justin Hammond (Justintime50) wants to merge 2 commits into
masterfrom
plain_php_objects
Open

fix: preserves caller-provided plain PHP objects in request params (closes #392)#393
Justin Hammond (Justintime50) wants to merge 2 commits into
masterfrom
plain_php_objects

Conversation

@Justintime50

@Justintime50 Justin Hammond (Justintime50) commented Aug 26, 2026

Copy link
Copy Markdown
Member

Description

Testing

Added new unit tests that ensure backwards compatibility along with the change of standard objects being encoded properly with the fix.

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)

Comment thread lib/EasyPost/Http/Requestor.php
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.

8.8.2: empty PHP arrays now reach the API as JSON arrays where objects are expected — request rejected with no pointer to the cause

2 participants