• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

tarantool / graphql / 601
91%
master: 91%

Build:
Build:
LAST BUILD BRANCH: bastida-graphql
DEFAULT BRANCH: master
Ran 03 Feb 2019 11:01PM UTC
Jobs 1
Files 42
Run time 2s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

pending completion
601

push

travis-ci

Totktonada
Give an empty multihead connection as null

This commit changes behaviour in the following cases:

1. When a union variant to which a connected object belongs is not appear
   in a query, the library returns box.NULL w/o any wrappers.

2. When no connected object is found, the library returns box.NULL as
   well even if all-nulls check before fails (typically because of
   disable_dangling_check option, but also it is possible because of
   using different source fields across multihead connection variants).

The first case is tested with to_avro_multihead.test.lua. The latter one
does not tested.

In these cases we could receive `{"collection_name": null}` as a result
instead of just `null`. Only `null` is valid result for a avro-schema
union.

Both variant however are valid by our avro-schema generated for a query,
because a multi-head connection represented as an object with nullable
fields. There is a reason for that, see the comment for the
union_to_avro() function in graphql/query_to_avro.lua.

Fixes #253.

5504 of 6023 relevant lines covered (91.38%)

19779.73 hits per line

Jobs
ID Job ID Ran Files Coverage
9 601.9 (TARGET=coverage) 03 Feb 2019 11:01PM UTC 0
91.38
Travis Job 601.9
Source Files on build 601
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #601
  • 5c5de1aa on github
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc