elasticsearch-graphql
Advanced tools
Comparing version 3.0.0 to 3.0.1
@@ -16,6 +16,7 @@ var OrderByEnum = require('../types/OrderByEnum') | ||
var name = [type, _.uniqueId()].join('_') | ||
termsTranslation[type] = prop | ||
if (p.properties) { | ||
convertFields(opts, fields, p.properties, argsFilters) | ||
convertFields(opts, fields, p.properties, argsFilters, termsTranslation) | ||
} else { | ||
@@ -22,0 +23,0 @@ fields.terms = { |
@@ -29,4 +29,5 @@ var _ = require('lodash') | ||
var filter = {} | ||
var translated = target.split('.').map(x => termsTranslation[x]).join('.') | ||
filter[termsTranslation[target]] = value | ||
filter[translated] = value | ||
@@ -33,0 +34,0 @@ filterGroup.bool[boolGroup].push({ |
{ | ||
"name": "elasticsearch-graphql", | ||
"version": "3.0.0", | ||
"version": "3.0.1", | ||
"description": "Schema generator and query builder for elasticsearch", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -13,3 +13,3 @@ # Elastic Search GraphQL | ||
## Compitability | ||
## Compatibility | ||
This package is tested and working on | ||
@@ -16,0 +16,0 @@ - [graphql](https://github.com/graphql/graphql-js) version ^0.6.2 (should be okey from version 0.5.x) |
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
18270
487
0