Better HN
topnewbestaskshowjobs
Log inSign up

dotansimha

2 karma · joined Sep 30, 2015 (11y ago) · 3 submissions

Submissions

comment 3y ago · link · parent

I've added the LICENSE file, thanks for letting us know! :)

comment 6y ago · link · parent

It depends, and might be different across APIs. Because OpenAPI spec allow you to use different methods of authentication (general query param, per-endpoint query param or authentication via headers). So if it's per-operation or part of the endpoint, it will be converted into a graphql argument as part of the operation. If it's a general authentication method for the whole OpenAPI file, like with headers, Mesh allow to to configure it as part of your configuration explicitly, or load it from an environment variables, and if it's a dynamic token you can do interpolations like `Authorization: {context.authToken}` and it will take it from the execution context every time.

3.

GraphQL Code-Generator 1.0: The True GraphQL-First Platform(medium.com ↗)

7 points · by dotansimha · 9y ago · 1 comment