{"action":"opened","issue":{"url":"https://api.github.com/repos/baronfel/issueTestRepo/issues/262","repository_url":"https://api.github.com/repos/baronfel/issueTestRepo","labels_url":"https://api.github.com/repos/baronfel/issueTestRepo/issues/262/labels{/name}","comments_url":"https://api.github.com/repos/baronfel/issueTestRepo/issues/262/comments","events_url":"https://api.github.com/repos/baronfel/issueTestRepo/issues/262/events","html_url":"https://github.com/baronfel/issueTestRepo/issues/262","id":183120147,"number":262,"title":"Allow passing other types of parameters to type providers","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/issueTestRepo/labels/declined","name":"declined","color":"171819"},{"url":"https://api.github.com/repos/baronfel/issueTestRepo/labels/votes:11-50","name":"votes:11-50","color":"333333"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-10-14T18:31:01Z","updated_at":"2016-10-14T18:31:01Z","closed_at":null,"body":"# Allow passing other types of parameters to type providers [6023655] #\n\n**Submitted by Loic Denuziere on 6/8/2014 12:00:00 AM**  \n**21 votes on UserVoice prior to migration**  \n\nIt would be very useful to be able to pass lists, arrays, options, tuples as static parameters to type providers. Something like this:\r\ntype Foo = FooProvider<files = [\"file1.txt\"; \"file2.txt\"]>\r\nNote that this is different from [/archive/suggestion-5675977-allow-type-providers-to-generate-types-from-other](/archive/suggestion-5675977-allow-type-providers-to-generate-types-from-other.md) which is about taking *types* as parameter; this is about taking *values* of a few specific predefined types, which should be much simpler as it doesn't need staged compilation.\n\n\n\n## Response ##\n** by fslang-admin on 2/10/2016 12:00:00 AM **\n\nDeclined per my comment below, in favour of two other suggestions\r\nThanks\r\nDon\n\n\n**[Original UserVoice Submission](https://fslang.uservoice.com/245727-f-language/suggestions/6023655)**\n[Archived Uservoice Comments](../tree/master/archive/suggestion-6023655-allow-passing-other-types-of-parameters-to-type-p.md#comments)\n"}}
{"actor":{"display_login":"baronfel"}}