天天看點

SAP Spartacus deprecation for 4.0 需要注意的一些事項

SAP Spartacus deprecation for 4.0 需要注意的一些事項
SAP Spartacus deprecation for 4.0 需要注意的一些事項

更新文檔:\docs\migration\4_0.md

ToggleStatusComponent

Removed FeatureConfigService from constructor.

DeleteItemComponent

SAP Spartacus deprecation for 4.0 需要注意的一些事項

the meaning of “deprecatedParams”: this block should contain all the parameters used in deprecated constructors( I mean the deleted constructor )?

it is like “old constructor”.

其他同僚完成修改後,git pull origin epic/organization-deprecations to update your branch

一個潛在的 conflict 問題

SAP Spartacus deprecation for 4.0 需要注意的一些事項

答案

you can have 2 kinds of conflict like:

git recognized that both developers changed the same lines, and you must resolve it manually by choosing version (or both)

both people added the same variable in the same file, but in different places so git will not see any problem, but your IDE (eslint) should.

SAP Spartacus deprecation for 4.0 需要注意的一些事項

so you create an own branch fix/GH-11530, and wants to merge commit into epic/organization-deprecations.

SAP Spartacus deprecation for 4.0 需要注意的一些事項