goadesign / goadesign/plugins

cors plugin: no way to set Origin dynamically per runtime environment

Open
#173 3 comments 0 reactions 0 assignees View on GitHub
Dominant language
Go
Stars
69
Forks
38
Avg merge
4d 20h
Merged PRs (30d)
5

Description

When you generate Goa code with goa-gen the Origin has to be specified in your design. There is no way, as far as I can see, to set Origins based on some properties per desired environment runtime (production, test, local) so that for instance app that runs in the prod environment does not include Origins for test or local environment.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.