Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Same hard-coded string added as multiple parameters #98

Open
Costin-hcl opened this issue Dec 16, 2020 · 1 comment
Open

Same hard-coded string added as multiple parameters #98

Costin-hcl opened this issue Dec 16, 2020 · 1 comment

Comments

@Costin-hcl
Copy link

This is not necessarily a bug but it would still be good to have it as an option.

Assuming we have two HTTP Get actions, both with the same hard-coded URL. When exporting the template, it will generate two parameters:

"HTTP-URI": {
  "type": "string",
  "defaultValue": "https://www.bing.com/search?q=shopping"
},
"HTTP_get_again-URI": {
  "type": "string",
  "defaultValue": "https://www.bing.com/search?q=shopping"
},

Sometimes you may want to have just one parameter for each unique string. So maybe adding an additional option for preventing duplicates when generating parameters is the way to go.

@MLogdberg
Copy link
Collaborator

We had that in the beginning actually but then removed it due to unexpected behavior. Maybee need to look in to this again

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

No branches or pull requests

2 participants