Add embryo to products

This commit is contained in:
Niklas Fondberg
2021-04-06 15:49:41 +02:00
parent 813f4c8e47
commit 949c641410
10 changed files with 110 additions and 4 deletions
+6
View File
@@ -0,0 +1,6 @@
// (parent, args, ctx, info)
const products = {
products: (_, __, { dataSources }) => dataSources.productApi.getProducts(),
};
export default products;