From 1fae751900c38bdac6d0eaa91c47452595f3699e Mon Sep 17 00:00:00 2001 From: Michael Edelman Date: Thu, 24 Jan 2019 12:56:41 -0500 Subject: [PATCH] fix(UpdateProductInput): Sets type of price field to Float. With the exception of `UpdateProductInput`, all Product-related inputs declare the field `price` to be of type Float. This commit changes `UpdateProductInput` to be consistent with that pattern. --- src/types/product/__tests__/product.type.spec.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/types/product/__tests__/product.type.spec.js b/src/types/product/__tests__/product.type.spec.js index 0907e43..afed939 100644 --- a/src/types/product/__tests__/product.type.spec.js +++ b/src/types/product/__tests__/product.type.spec.js @@ -78,7 +78,7 @@ describe('Product schema', () => { const fields = { name: 'String', - price: 'String', + price: 'Float', image: 'String', description: 'String', liquidCooled: 'Boolean',