Skip to content

Commit 2ce2d88

Browse files
authored
Merge pull request tarantool#113 from tarantool/tarantoolgh-98-block-executor
Implement block executor
2 parents 6056ae7 + 124ce47 commit 2ce2d88

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

54 files changed

+3331
-479
lines changed

.luacheckrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,6 @@ std = {
55
'getmetatable', 'setmetatable', 'rawget', 'print', 'shard_status',
66
'loadstring', 'arg',
77
},
8-
globals = {'package'}
8+
globals = {'package', '_G'}
99
}
1010
redefined = False

README.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -124,6 +124,12 @@ local compiled_query = graphql_lib.compile(query)
124124
local result = compiled_query:execute(variables)
125125
```
126126

127+
### Shard
128+
129+
One need to call `require('graphql.storage').init()` on each storage server to
130+
use graphql with shard and BFS executor. Alternatively one can use
131+
`graphql.new({..., use_bfs_executor = 'never'})` on a frontend server.
132+
127133
### Multi-head connections
128134
A parent object is matching against a multi-head connection variants in the
129135
order of the variants. The parent object should match with a determinant of
@@ -404,6 +410,14 @@ TEST_RUN_TESTS=common/mutation make test
404410
* For building apidoc (additionally to 'for use'):
405411
* ldoc.
406412

413+
## Hacking
414+
415+
Enable debug log:
416+
417+
```sh
418+
export TARANTOOL_GRAPHQL_DEBUG=1
419+
```
420+
407421
## License
408422

409423
Consider LICENSE file for details. In brief:

0 commit comments

Comments
 (0)