hasura / ndc-spec

NDC Specification and Reference Implementation
http://hasura.github.io/ndc-spec
20 stars 5 forks source link

remove auth and other headers from api configuration #53

Closed paritosh-08 closed 1 year ago

paritosh-08 commented 1 year ago

This PR removes auth and other headers from the API Configuration struct. This PR also adds some documentation around how we can add headers to be sent in API requests.

paritosh-08 commented 1 year ago

@paf31 I have removed the headers.

I have also added some documentation around how the client is supposed to be built with some default set of headers. Can you please review that as well?