elasticgraph-graphql 0.18.0.2 → 0.18.0.3

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 3b80c95effea6c96d77f52275854dcf2ef14fa9b56c56cbca44fef5b5e34da5d
4
- data.tar.gz: 6af6c4269f7d9b4822a16e0007c24574593261a585cc7de9227ec3584c50a5ed
3
+ metadata.gz: a520631b7964685b34d5089eb26772a9754e955ac53ce7706d9a844a06c281c3
4
+ data.tar.gz: 02e9144c3197c43a208c100fcc3a340301caf041fd12783b4cd08f37d3f28645
5
5
  SHA512:
6
- metadata.gz: 33c540e6691fa35958a4b8c01984909f36a12092e05bb78e4cf91424a555d2932b79cdb50e8007756c2bd7d4a44bc176b36a7363cf5e5b2be75f3d5475d616d7
7
- data.tar.gz: 9ee9a9790c301d17f6467413d2ad02f6e01fd2305b5989eaed5fcbd78fdd8d84b9b8f21ef14cdd109444675a6e63df737555be7eb34be988bb44359a834ab0ea
6
+ metadata.gz: 9540df01b507f1b3bcdae32699c3cf830b900507953f70504515afd0c5c7bf7160fb13b78750a272da823e81795d247c56c47ba7bff0d977193dad744ed7e6ba
7
+ data.tar.gz: 68e4cee0d55d42693641901bafc0e811a7f596b831d438ce9882ae259c0006ac12580726785c9fa2918e1abb0cb5b804da088f7bef4f83a4220958b07b73fbec
@@ -165,7 +165,9 @@ module ElasticGraph
165
165
  process_filter_hash(inner_node, filter, field_path.nested)
166
166
  end
167
167
 
168
- bool_node[:filter] << {nested: {path: field_path.from_root.join("."), query: sub_filter}}
168
+ if sub_filter
169
+ bool_node[:filter] << {nested: {path: field_path.from_root.join("."), query: sub_filter}}
170
+ end
169
171
  end
170
172
 
171
173
  # On a list-of-leaf-values field, `any_satisfy` doesn't _do_ anything: it just expresses
@@ -305,7 +307,7 @@ module ElasticGraph
305
307
  process_filter_hash(inner_node, expression, field_path)
306
308
  end
307
309
 
308
- bool_node[:filter] << sub_filter
310
+ bool_node[:filter] << sub_filter if sub_filter
309
311
  else
310
312
  process_filter_hash(bool_node, expression, field_path)
311
313
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: elasticgraph-graphql
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.18.0.2
4
+ version: 0.18.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Myron Marston
@@ -266,28 +266,28 @@ dependencies:
266
266
  requirements:
267
267
  - - '='
268
268
  - !ruby/object:Gem::Version
269
- version: 0.18.0.2
269
+ version: 0.18.0.3
270
270
  type: :runtime
271
271
  prerelease: false
272
272
  version_requirements: !ruby/object:Gem::Requirement
273
273
  requirements:
274
274
  - - '='
275
275
  - !ruby/object:Gem::Version
276
- version: 0.18.0.2
276
+ version: 0.18.0.3
277
277
  - !ruby/object:Gem::Dependency
278
278
  name: elasticgraph-schema_artifacts
279
279
  requirement: !ruby/object:Gem::Requirement
280
280
  requirements:
281
281
  - - '='
282
282
  - !ruby/object:Gem::Version
283
- version: 0.18.0.2
283
+ version: 0.18.0.3
284
284
  type: :runtime
285
285
  prerelease: false
286
286
  version_requirements: !ruby/object:Gem::Requirement
287
287
  requirements:
288
288
  - - '='
289
289
  - !ruby/object:Gem::Version
290
- version: 0.18.0.2
290
+ version: 0.18.0.3
291
291
  - !ruby/object:Gem::Dependency
292
292
  name: graphql
293
293
  requirement: !ruby/object:Gem::Requirement
@@ -308,70 +308,70 @@ dependencies:
308
308
  requirements:
309
309
  - - '='
310
310
  - !ruby/object:Gem::Version
311
- version: 0.18.0.2
311
+ version: 0.18.0.3
312
312
  type: :development
313
313
  prerelease: false
314
314
  version_requirements: !ruby/object:Gem::Requirement
315
315
  requirements:
316
316
  - - '='
317
317
  - !ruby/object:Gem::Version
318
- version: 0.18.0.2
318
+ version: 0.18.0.3
319
319
  - !ruby/object:Gem::Dependency
320
320
  name: elasticgraph-elasticsearch
321
321
  requirement: !ruby/object:Gem::Requirement
322
322
  requirements:
323
323
  - - '='
324
324
  - !ruby/object:Gem::Version
325
- version: 0.18.0.2
325
+ version: 0.18.0.3
326
326
  type: :development
327
327
  prerelease: false
328
328
  version_requirements: !ruby/object:Gem::Requirement
329
329
  requirements:
330
330
  - - '='
331
331
  - !ruby/object:Gem::Version
332
- version: 0.18.0.2
332
+ version: 0.18.0.3
333
333
  - !ruby/object:Gem::Dependency
334
334
  name: elasticgraph-opensearch
335
335
  requirement: !ruby/object:Gem::Requirement
336
336
  requirements:
337
337
  - - '='
338
338
  - !ruby/object:Gem::Version
339
- version: 0.18.0.2
339
+ version: 0.18.0.3
340
340
  type: :development
341
341
  prerelease: false
342
342
  version_requirements: !ruby/object:Gem::Requirement
343
343
  requirements:
344
344
  - - '='
345
345
  - !ruby/object:Gem::Version
346
- version: 0.18.0.2
346
+ version: 0.18.0.3
347
347
  - !ruby/object:Gem::Dependency
348
348
  name: elasticgraph-indexer
349
349
  requirement: !ruby/object:Gem::Requirement
350
350
  requirements:
351
351
  - - '='
352
352
  - !ruby/object:Gem::Version
353
- version: 0.18.0.2
353
+ version: 0.18.0.3
354
354
  type: :development
355
355
  prerelease: false
356
356
  version_requirements: !ruby/object:Gem::Requirement
357
357
  requirements:
358
358
  - - '='
359
359
  - !ruby/object:Gem::Version
360
- version: 0.18.0.2
360
+ version: 0.18.0.3
361
361
  - !ruby/object:Gem::Dependency
362
362
  name: elasticgraph-schema_definition
363
363
  requirement: !ruby/object:Gem::Requirement
364
364
  requirements:
365
365
  - - '='
366
366
  - !ruby/object:Gem::Version
367
- version: 0.18.0.2
367
+ version: 0.18.0.3
368
368
  type: :development
369
369
  prerelease: false
370
370
  version_requirements: !ruby/object:Gem::Requirement
371
371
  requirements:
372
372
  - - '='
373
373
  - !ruby/object:Gem::Version
374
- version: 0.18.0.2
374
+ version: 0.18.0.3
375
375
  description:
376
376
  email:
377
377
  - myron@squareup.com