graphql-compose-elasticsearch icon indicating copy to clipboard operation
graphql-compose-elasticsearch copied to clipboard

It connected to localhost:9200 but not work at all

Open webnah opened this issue 6 years ago • 3 comments

elastic & server start right, but mutation fail


yarn run v1.12.3 $ nodemon --watch 'src//*' -e ts,tsx --exec ts-node src/index.ts [nodemon] 1.18.10 [nodemon] to restart at any time, enter rs [nodemon] watching: src//* [nodemon] starting ts-node src/index.ts Elasticsearch INFO: 2019-02-19T11:22:16Z Adding connection to http://localhost:9200/

Elasticsearch DEBUG: 2019-02-19T11:22:20Z starting request { "method": "HEAD", "requestTimeout": 30000, "castExists": true, "path": "/", "query": {} }

Elasticsearch TRACE: 2019-02-19T11:22:20Z -> HEAD http://localhost:9200/

<- 200

Elasticsearch DEBUG: 2019-02-19T11:22:20Z Request complete

Server ready at http://localhost:3000/graphql

selection_407

webnah avatar Feb 19 '19 11:02 webnah

it is interested example, but no any help or guild selection_408

webnah avatar Feb 19 '19 11:02 webnah

hi @webnah , you have to write your custom logic/implementations in the project resolver here .

m-nathani avatar Feb 19 '19 11:02 m-nathani

Please creating a small example of insert data into ES. I am a newbie both TS & JS * graphql too

webnah avatar Feb 19 '19 23:02 webnah