Skip to content

handle multiple formats of contextual metadata#120

Merged
const-cloudinary merged 2 commits intomainfrom
asset-context-formats
Aug 7, 2025
Merged

handle multiple formats of contextual metadata#120
const-cloudinary merged 2 commits intomainfrom
asset-context-formats

Conversation

@kjarmicki-cloudinary
Copy link
Contributor

Brief Summary of Changes

Our API response depends on auth method. Sometimes contextual metadata is returned as a map, and sometimes as an array. With this PR, the SDK will be able to handle both formats and unify them in the returned value.

What does this PR address?

  • GitHub issue (Add reference - #XX)
  • Refactoring
  • New feature
  • Bug fix
  • Adds more tests

Are tests included?

  • Yes
  • No

Reviewer, please note:

Checklist:

  • My code follows the code style of this project.
  • My change requires a change to the documentation.
  • I ran the full test suite before pushing the changes and all the tests pass.

@const-cloudinary const-cloudinary merged commit baf6ce2 into main Aug 7, 2025
12 checks passed
@const-cloudinary const-cloudinary deleted the asset-context-formats branch August 7, 2025 09:12
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