Moved from GitHub dgraph-js/71
Posted by prashant-shahi:
When I ran the example script against dgraph cluster with ACL feature turned on, I encountered the following error, which wasn’t of much help.
ERROR: TypeError: Cannot read property 'serializeBinary' of undefined
at Object.createPayload (/Users/prashant/dgraph-code/dgraph-js/examples/v1.1/node_modules/dgraph-js/lib/types.js:65:105)
at DgraphClient.<anonymous> (/Users/prashant/dgraph-code/dgraph-js/examples/v1.1/node_modules/dgraph-js/lib/client.js:86:36)
at step (/Users/prashant/dgraph-code/dgraph-js/examples/v1.1/node_modules/dgraph-js/lib/client.js:32:23)
at Object.throw (/Users/prashant/dgraph-code/dgraph-js/examples/v1.1/node_modules/dgraph-js/lib/client.js:13:53)
at rejected (/Users/prashant/dgraph-code/dgraph-js/examples/v1.1/node_modules/dgraph-js/lib/client.js:5:65)
Meanwhile, we need to have more tests around ACL as well.