stackql / stackql/stackql-devel
[FEATURE] Show Server Variables in INSERT templates and SHOW METHODS
@general-kroll-4-life is already working on this.
Since Mar 28, 2022.
- Dominant language
- Go
- Stars
- 0
- Forks
- 0
- PR merge metrics
- No merged PRs in 30d
Description
Feature Description
If a server variable is defined in the API spec, this variable should be shown in INSERT templates by default, for example, given the servers object in a Okta API spec...
servers:
- url: https://{subdomain}.okta.com/
variables:
subdomain:
default: my-domain
Then SHOW INSERT INTO okta.identityprovider.idps should return...
INSERT INTO okta.identityprovider.idps(
data__name,
...
data__subdomain
)
SELECT
'{{ .values.data__name }}',
...
'{{ .values.data__subdomain }}';
A clear and concise description of what you want to happen.
Example(s)
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
Possible Approaches or Libraries to Consider
A clear and concise description of any alternative solutions or features you've considered.
Additional context
Add any other context or screenshots about the feature request here.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.