appbaseio / appbaseio/reactivecore

Allow customization of GraphQL fetch

Open
#42 2 comments 1 reaction 1 assignee Claimed by @lakhansamani View on GitHub
Dominant language
JavaScript
Stars
33
Forks
27
PR merge metrics
No merged PRs in 30d

Description

The GraphQL fetch should allow for more custumization:

- Currently the fetch call is fixed to query `elastic50`, feels weird to have to use elastic50 as my query name even if I'm using 7.2
- enforces the usage of a `host` parameter(which I dont use as the graphql proxy takes care of the host + credentials, therefore resulting in an error for me)
- Uses content type `application/graphql` while lots of implementations like Apollo seem to prefer `application/json`

- ReactiveBase could take a transformRequest parameter, which seems to be ignored in case `graphQLUrl` is used.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.