{"action":"opened","issue":{"url":"https://api.github.com/repos/baronfel/fsharp-lang-suggestions-final/issues/89","repository_url":"https://api.github.com/repos/baronfel/fsharp-lang-suggestions-final","labels_url":"https://api.github.com/repos/baronfel/fsharp-lang-suggestions-final/issues/89/labels{/name}","comments_url":"https://api.github.com/repos/baronfel/fsharp-lang-suggestions-final/issues/89/comments","events_url":"https://api.github.com/repos/baronfel/fsharp-lang-suggestions-final/issues/89/events","html_url":"https://github.com/baronfel/fsharp-lang-suggestions-final/issues/89","id":184115000,"number":89,"title":"Compiler directive for environment variables","user":{"login":"baronfel","id":573979,"avatar_url":"https://avatars.githubusercontent.com/u/573979?v=3","gravatar_id":"","url":"https://api.github.com/users/baronfel","html_url":"https://github.com/baronfel","followers_url":"https://api.github.com/users/baronfel/followers","following_url":"https://api.github.com/users/baronfel/following{/other_user}","gists_url":"https://api.github.com/users/baronfel/gists{/gist_id}","starred_url":"https://api.github.com/users/baronfel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/baronfel/subscriptions","organizations_url":"https://api.github.com/users/baronfel/orgs","repos_url":"https://api.github.com/users/baronfel/repos","events_url":"https://api.github.com/users/baronfel/events{/privacy}","received_events_url":"https://api.github.com/users/baronfel/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/baronfel/fsharp-lang-suggestions-final/labels/open","name":"open","color":"d3b47e"},{"url":"https://api.github.com/repos/baronfel/fsharp-lang-suggestions-final/labels/votes:0-10","name":"votes:0-10","color":"333333"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-10-20T01:36:52Z","updated_at":"2016-10-20T01:36:52Z","closed_at":null,"body":"# Compiler directive for environment variables [13335678] #\n\n**Submitted by Lenne on 4/6/2016 12:00:00 AM**  \n**4 votes on UserVoice prior to migration**  \n\nIt would be nice to have a compiler directive for environment variables which can be used in string literals.\r\nThis way we can pass different parameters to type providers on a build server.\r\n[<Literal>]\r\nlet ConnectionString = #env \"MY_DB_CONNECTIONSTRING\"\r\nlet cmd = new SqlCommandProvider<\"...\", ConnectionString>()\n\n\n\n**[Original UserVoice Submission](https://fslang.uservoice.com/forums/245727-f-language/suggestions/13335678)**\n[Archived Uservoice Comments](../tree/master/archive/suggestion-13335678-compiler-directive-for-environment-variables.md#comments)\n"}}
{"actor":{"display_login":"baronfel"}}