Uploaded image for project: 'Appcelerator Studio'
  1. Appcelerator Studio
  2. TISTUD-7847

Let config.json have proper deep nesting

    Details

    • Type: Improvement
    • Status: Open
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Environment:

      Ti 4.0.0.GA Alloy 1.6.0, all platforms

      Description

      keys defined in `"global" are only shallow copied onto `"env:development"`, `"env:test"` etc. This means that a nested structure on your `"global"` will be completely replaced by the keys in development/test/production.

      Example:

      ```
      {
      "global": {
      "tests": {
      "unit": true,
      "integration": true,
      "options":

      { "silent": true }

      }
      },
      "env:development": {
      "tests": {
      "options":

      { "silent": false }

      }
      }
      };
      ```

      In the example, "env:development" will currently not receive the "unit" or "integration" keys

        Attachments

          Activity

            People

            • Assignee:
              kkolipaka Kondal Kolipaka (Inactive)
              Reporter:
              uzbbert Bert
            • Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated: