superfaceai / spec

The Comlink Specification. Comlink is a new interface description and integration language build self-integrating applications.
https://superface.ai/docs/comlink/specification
MIT License
11 stars 1 forks source link

feat: provide globally-available context variables #13

Closed smizell closed 3 years ago

smizell commented 3 years ago

Adds document-wide context variables for access to services and defaultService.

Let me know if there is a better way to define global context variables.

vercel[bot] commented 3 years ago

@smizell is attempting to deploy a commit to the Superface Team on Vercel.

To accomplish this, @smizell needs to request access to the Team.

Afterwards, an owner of the Team is required to accept their membership request.

smizell commented 3 years ago

I've added a note about the defaultService and relative URLs. I think it would be better to also add a note in the HTTP Call section, but it appears to me that only relative URLs are allowed at the moment. How can people specify full URLs?

zdne commented 3 years ago

I've added a note about the defaultService and relative URLs. I think it would be better to also add a note in the HTTP Call section, but it appears to me that only relative URLs are allowed at the moment. How can people specify full URLs?

You are right, I think we need to address "How can people specify full URLs?" in this PR too.

smizell commented 3 years ago

@zdne @Vratislav I added the comment here about using full URLs.

https://github.com/superfaceai/spec/pull/13#discussion_r576311965

smizell commented 3 years ago

Closing in favor of #21.