Procházet zdrojové kódy

chore: Added custom mapping prefix to access the property

Kevin Mattutat před 4 roky
rodič
revize
e5c70fd5f2

+ 1 - 1
packages/elasticsearch-plugin/e2e/elasticsearch-plugin.e2e-spec.ts

@@ -145,7 +145,7 @@ describe('Elasticsearch plugin', () => {
                                 graphQlType: 'Int!',
                                 environment: 'product',
                                 scriptFn: input => ({
-                                    script: `doc['answer'].value * 2`,
+                                    script: `doc['product-answer'].value * 2`,
                                 }),
                             },
                         },