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

feat: Make region, collections, categories, products and cart v2 compatible #320

Merged
merged 7 commits into from
May 7, 2024

Conversation

sradevski
Copy link
Member

@sradevski sradevski commented May 1, 2024

There are a lot of changes, and a lot of things that are still not working yet. For review I would recommend checking the final state, rather than the diff, as it will make it easier to evaluate the end state.

Note that there have been very few UI changes, it's mostly the API calls and the code structure.

Copy link

vercel bot commented May 1, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
nextjs-starter-medusa ❌ Failed (Inspect) May 6, 2024 3:42pm

"next": "^14.0.0",
"pg": "^8.11.3",
"qs": "^6.12.1",
Copy link
Member Author

Choose a reason for hiding this comment

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

This is temporary until we move the SDK to medusa-js

}
}

// TODO: Make response a bit more user friendly (throw errors, return JSON if resp content type is json, etc.)
Copy link
Member Author

Choose a reason for hiding this comment

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

We will need to decide what the behavior of the our SDKs fetch should be when it comes to the responses, either here or when I open the PR to medusa-js

@sradevski sradevski changed the title feat: Make region, collections, categories, and products v2 compatible feat: Make region, collections, categories, products and cart v2 compatible May 1, 2024
@sradevski sradevski merged commit 04db88d into feat/v2 May 7, 2024
2 of 4 checks passed
@sradevski sradevski deleted the feat/v2-api branch May 7, 2024 06:25
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.

None yet

2 participants