question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[Feature Request] Merge JSON object variables from base & sub environment

See original GitHub issue

Variable in base environment:

"app": {
  "clientId": "com.foo.someAppName"
}

Variable in sub environment XYZ:

"app": {
  "clientSecret": "abc123"
}

Effective variable in environment XYZ:

Expected:

"app": {
  "clientId": "com.foo.someAppName",
  "clientSecret": "abc123"
}

Actual:

"app": {
  "clientSecret": "abc123"
}

Insomnia v6.5.4

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Reactions:3
  • Comments:11 (6 by maintainers)

github_iconTop GitHub Comments

3reactions
Gabrzcommented, Aug 20, 2019

Could you have a look at this @gschier? It says “Feature Request”, but one could perhaps also argue that the current behavior is a bug? Anyway, I have a pull request that implements this new Feature, and I think the (Environment) Variable management in Insomnia would really benefit from it.

2reactions
Gabrzcommented, Nov 28, 2019

Good news everybody! The pull request was merged!

As of version 7.0.4 this feature is now available.

(This Issue/Request can be closed)

Read more comments on GitHub >

github_iconTop Results From Across the Web

Environment Variables | Insomnia Docs
Set up environment variables to reuse values across multiple requests. Common variables are base URLs, authentication tokens, and resource IDs.
Read more >
Merge request dependencies - GitLab Docs
A single feature can span several merge requests, spread out across multiple projects, and the order in which the work merges can be...
Read more >
Environment variables in build environments - AWS CodeBuild
The identifier of the merge commit used for the build. This variable is set when a Bitbucket pull request is merged with the...
Read more >
Tutorial - Jsonnet
Tutorial · In order to refer to objects between the current and outer-most object, we use a variable to create a name for...
Read more >
Review Apps (New) - Heroku Dev Center
Review apps run the code in any GitHub pull request in a complete, ... inside the environments.review key will be merged into the...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found