We are doing an integration with 3rd party Commerce solution. While writing integration layer in Adobe IO we realised that the commerce schema is not working with Magento Schema. Some of the primary keys needs to be converted from Integer to String and some of the fields needs to be updated.
On the cloud environment, can we customise the CIF Addon schema. Or do we need to build our own connector with the schema.
Solved! Go to Solution.
Views
Replies
Total Likes
Hello, while customisations of the schema are possible and required at many places, like product attributes we recommend not changing fundamental things like the ids. This well break CIF add-on and components as GraphQL has built in type checking.
The good news is there will be a generic solution for this soon. Magento Schema (2.4.2+.) introduced a generic UID field which will replace the ID field (which is still there but got already deprecated). See https://devdocs.magento.com/guides/v2.4/release-notes/open-source-2-4-2.html#graphql and https://devdocs.magento.com/guides/v2.4/graphql/queries/category-list.html for some examples. With CIF we already working on full support for uid. This should make your requirement to convert the identifiers obsolete.
Hello, while customisations of the schema are possible and required at many places, like product attributes we recommend not changing fundamental things like the ids. This well break CIF add-on and components as GraphQL has built in type checking.
The good news is there will be a generic solution for this soon. Magento Schema (2.4.2+.) introduced a generic UID field which will replace the ID field (which is still there but got already deprecated). See https://devdocs.magento.com/guides/v2.4/release-notes/open-source-2-4-2.html#graphql and https://devdocs.magento.com/guides/v2.4/graphql/queries/category-list.html for some examples. With CIF we already working on full support for uid. This should make your requirement to convert the identifiers obsolete.
@suryapramodhd73 - I believe you are using Node.js as part of Adobe IO to pass the value as part of schema to Magento. You can update the value type while passing to Adobe IO's node js itself.
Thank,
Nikhil Kumar
Views
Replies
Total Likes
Views
Likes
Replies