Skip to content

[2025-04] Add @inContext directive to all CAAPI queries and mutations#2881

Merged
juanpprieto merged 13 commits intomainfrom
juanpprieto/add-incontext-CAAPI
Jun 9, 2025
Merged

[2025-04] Add @inContext directive to all CAAPI queries and mutations#2881
juanpprieto merged 13 commits intomainfrom
juanpprieto/add-incontext-CAAPI

Conversation

@juanpprieto
Copy link
Copy Markdown
Contributor

@juanpprieto juanpprieto commented Apr 24, 2025

The CAAPI now supports @incontext:language translations

https://shopify.dev/changelog/exposed-incontext-directive-with-the-customer-account-api

WHY are these changes introduced?

Fixes #0000

WHAT is this pull request doing?

HOW to test your changes?

Post-merge steps

Checklist

  • I've read the Contributing Guidelines
  • I've considered possible cross-platform impacts (Mac, Linux, Windows)
  • I've added a changeset if this PR contains user-facing or noteworthy changes
  • I've added tests to cover my changes
  • I've added or updated the documentation

@shopify
Copy link
Copy Markdown
Contributor

shopify bot commented Apr 24, 2025

Oxygen deployed a preview of your juanpprieto/add-incontext-CAAPI branch. Details:

Storefront Status Preview link Deployment details Last update (UTC)
custom-cart-method ✅ Successful (Logs) Preview deployment Inspect deployment June 4, 2025 5:12 PM
metaobjects ✅ Successful (Logs) Preview deployment Inspect deployment June 4, 2025 5:12 PM
Skeleton (skeleton.hydrogen.shop) ✅ Successful (Logs) Preview deployment Inspect deployment June 4, 2025 5:12 PM
third-party-queries-caching ✅ Successful (Logs) Preview deployment Inspect deployment June 4, 2025 5:12 PM
classic-remix ✅ Successful (Logs) Preview deployment Inspect deployment May 6, 202511:34 AM

Learn more about Hydrogen's GitHub integration.

@juanpprieto juanpprieto marked this pull request as ready for review April 29, 2025 17:42
@juanpprieto juanpprieto changed the base branch from main to 2025.4-update-SFAPI-version May 6, 2025 08:11
Base automatically changed from 2025.4-update-SFAPI-version to main May 6, 2025 08:25
@github-actions

This comment has been minimized.

@juanpprieto juanpprieto merged commit 1bdb046 into main Jun 9, 2025
11 checks passed
@juanpprieto juanpprieto deleted the juanpprieto/add-incontext-CAAPI branch June 9, 2025 18:03
juanpprieto added a commit that referenced this pull request Sep 17, 2025
…#2881)

* Add @incontext directive to all CAAPI queries and mutations

* Update SFAPI versions

* Mmm set entry.server as an external rollupOption

* Remove external rollupOption

* Add changeset

* Fix prettier

* Regen SFAPI & CAAPI types for new inContext CAAPI directive

* Update lock

* Add changeset
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.

1 participant