Customizations of functionalities #302
Replies: 2 comments
-
any type of help or guidance is appreciated in regards to this or at least to be pointed in the right direction of doing things |
Beta Was this translation helpful? Give feedback.
-
I think that you should create a package inside the "packages" workspace and modify core files that import the file you are trying to override. read: https://turborepo.com/docs/crafting-your-repository/structuring-a-repository In your example, imports that you want to override that point to apps/storefront/src/.../service/b2b/graphql/global.ts , shoud change to |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello
How is it possible in the b2b-buyer-portal to customize certain files as override / extend etc. in order to keep upgradability in mind ?
Need to add extra custom functionality to invoices for example and would like to extend apps/storefront/src/.../service/b2b/graphql/global.ts for example to add extra functionality in there which ties with apps/storefront/src/.../service/b2b/graphql/invoice.ts and apps/storefront/src/shared/service/b2b/index.ts etc...
need to pull in some extra fields and add custom logic.
Ideally would like to have the customizations as a separate package so that we do not touch the original core files
Beta Was this translation helpful? Give feedback.
All reactions