Hacker News new | ask | show | jobs
by orasis 3271 days ago
Cool. I would love any feedback! In the next couple of weeks I'll be adding a YAML format with the entire configuration in one file. It'll look something like this:

  properties:
    buyButtonText:
      variants:
        - buy now
        - free trial!
      by:
        property: os
          for:
            - ios
            - android
The response would look like:

  properties:
    buyButtonText: 
      ios:  free trial!
      android: buy now
Using the "by" statement you'll be able to segment the configuration by any other property.