Skip to content
This repository has been archived by the owner on Sep 2, 2022. It is now read-only.

Expose functions directly through the endpoint #811

Closed
kbrandwijk opened this issue Oct 14, 2017 · 1 comment
Closed

Expose functions directly through the endpoint #811

kbrandwijk opened this issue Oct 14, 2017 · 1 comment

Comments

@kbrandwijk
Copy link
Contributor

For feature requests, please fill in the next sections:

What feature are you missing?
I saw a FR a while ago about exposing functions directly as endpoints (can't find it anymore, please link it if found). This is useful for any project that now requires an external webtask, because of a callback URL, or the file-proxy for example.
As function exexution has now moved to AWS, and the project file has matured a lot, I think the steps to achieve this now are minimal.

How could this feature look like in detail? Tradeoffs?
I would propose adding another function type to the project definition, something like endpoint or something (needs a better term). Those functions would be available directly through https://api.graph.cool/simple/v1/c......./functionName. They probably also need a HTTP method (get/post).

@marktani
Copy link
Contributor

Closed as duplicate of #354.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants