-
Notifications
You must be signed in to change notification settings - Fork 5
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
Update api context to match shopware administration #369
base: main
Are you sure you want to change the base?
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
@akf-bw is attempting to deploy a commit to the Shopware Frontends Team on Vercel. A member of the Team first needs to authorize it. |
@seggewiss @jleifeld Could you please take a look at this? 💙 As soon as this PR has been merged & the package been updated, I like to open a new PR in the https://github.com/shopware/shopware repository to use the |
1f92edb
to
31768f4
Compare
@seggewiss @jleifeld Are there any updates on this? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good 👍
What?
ApiContext
type fromadmin-sdk/src/_internals/data/EntityCollection.ts
toadmin-sdk/src/context/index.ts
and also updates it with the missing fields of the shopware administration (language.parentId
,currencyId
&versionId
)ApiContext
type inadmin-sdk/src/_internals/data/EntityCollection.ts
Why?
ApiContext
type in theEntityCollection
& theContextState.api
type in the shopware administration mismatchHow?
ApiContext
type fromadmin-sdk/src/_internals/data/EntityCollection.ts
toadmin-sdk/src/context/index.ts
ApiContext
type in theEntityCollection
, but I've marked it asdeprecated
so it can be removed with a future updateAnything Else?
ApiContext
type from themeteor-admin-sdk
package in theContext.api
type instead of the own defined type in the shopware administration