Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

fix(project): fix object stringifying #832

Merged
merged 1 commit into from
Jun 13, 2024
Merged

fix(project): fix object stringifying #832

merged 1 commit into from
Jun 13, 2024

Conversation

samuelfullerthomas
Copy link
Contributor

@samuelfullerthomas samuelfullerthomas commented Jun 12, 2024

  • fix handling of parameters objects that include an object - currently those are not being handled - e.g.

getFieldValues('ec_name', { commerce: { catalogId: 'id' }) get's serialized as:

/rest/search/v2/values?field=author&commerce=%5Bobject%20Object%5D

we want to actually pass those nested params.

This falls in line with how the APIs are expecting the params to get serialized.

Screenshot 2024-06-12 at 12 19 42

Copy link
Contributor

@gdostie gdostie left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this makes sense

@samuelfullerthomas
Copy link
Contributor Author

I can't merge this myself - it has to be someone with merge approvals @gdostie @y-lakhdar

@aiheon aiheon added this pull request to the merge queue Jun 13, 2024
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Jun 13, 2024
@aiheon aiheon added this pull request to the merge queue Jun 13, 2024
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Jun 13, 2024
@louis-bompart louis-bompart added this pull request to the merge queue Jun 13, 2024
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Jun 13, 2024
@aiheon aiheon changed the title [MHUB-1446] fix(project): fix object stringifying fix(project): fix object stringifying Jun 13, 2024
@aiheon aiheon enabled auto-merge June 13, 2024 14:04
@aiheon aiheon added this pull request to the merge queue Jun 13, 2024
Merged via the queue into master with commit 753c0e9 Jun 13, 2024
8 checks passed
@aiheon aiheon deleted the MHUB-1446 branch June 13, 2024 14:07
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.

4 participants