{"action":"created","issue":{"url":"https://api.github.com/repos/fsprojects/FSharp.TypeProviders.StarterPack/issues/82","repository_url":"https://api.github.com/repos/fsprojects/FSharp.TypeProviders.StarterPack","labels_url":"https://api.github.com/repos/fsprojects/FSharp.TypeProviders.StarterPack/issues/82/labels{/name}","comments_url":"https://api.github.com/repos/fsprojects/FSharp.TypeProviders.StarterPack/issues/82/comments","events_url":"https://api.github.com/repos/fsprojects/FSharp.TypeProviders.StarterPack/issues/82/events","html_url":"https://github.com/fsprojects/FSharp.TypeProviders.StarterPack/issues/82","id":139566481,"number":82,"title":"How to create generative providers with the new context based provided type API without error.","user":{"login":"7sharp9","id":588746,"avatar_url":"https://avatars.githubusercontent.com/u/588746?v=3","gravatar_id":"","url":"https://api.github.com/users/7sharp9","html_url":"https://github.com/7sharp9","followers_url":"https://api.github.com/users/7sharp9/followers","following_url":"https://api.github.com/users/7sharp9/following{/other_user}","gists_url":"https://api.github.com/users/7sharp9/gists{/gist_id}","starred_url":"https://api.github.com/users/7sharp9/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/7sharp9/subscriptions","organizations_url":"https://api.github.com/users/7sharp9/orgs","repos_url":"https://api.github.com/users/7sharp9/repos","events_url":"https://api.github.com/users/7sharp9/events{/privacy}","received_events_url":"https://api.github.com/users/7sharp9/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/fsprojects/FSharp.TypeProviders.StarterPack/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2016-03-09T12:40:06Z","updated_at":"2016-04-04T07:21:38Z","closed_at":null,"body":"Currently if I convert to the new API I get a:\r\n![](https://i.imgur.com/fabH3BS.png)\r\n\r\nWhich seems to stem from assembly generator:\r\n```fsharp\r\ntype ProvidedAssembly(assemblyFileName: string) = \r\n    let theTypes = ResizeArray<_>()\r\n    let assemblyGenerator = AssemblyGenerator(assemblyFileName)\r\n    let assemblyLazy = \r\n        lazy \r\n            assemblyGenerator.Generate(theTypes |> Seq.toList)\r\n```\r\n\r\nIf would be great if the provided types API was able to support unchecked quotation for generative types as they have the same issues relating to reflection based loading etc."},"comment":{"url":"https://api.github.com/repos/fsprojects/FSharp.TypeProviders.StarterPack/issues/comments/205171001","html_url":"https://github.com/fsprojects/FSharp.TypeProviders.StarterPack/issues/82#issuecomment-205171001","issue_url":"https://api.github.com/repos/fsprojects/FSharp.TypeProviders.StarterPack/issues/82","id":205171001,"user":{"login":"7sharp9","id":588746,"avatar_url":"https://avatars.githubusercontent.com/u/588746?v=3","gravatar_id":"","url":"https://api.github.com/users/7sharp9","html_url":"https://github.com/7sharp9","followers_url":"https://api.github.com/users/7sharp9/followers","following_url":"https://api.github.com/users/7sharp9/following{/other_user}","gists_url":"https://api.github.com/users/7sharp9/gists{/gist_id}","starred_url":"https://api.github.com/users/7sharp9/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/7sharp9/subscriptions","organizations_url":"https://api.github.com/users/7sharp9/orgs","repos_url":"https://api.github.com/users/7sharp9/repos","events_url":"https://api.github.com/users/7sharp9/events{/privacy}","received_events_url":"https://api.github.com/users/7sharp9/received_events","type":"User","site_admin":false},"created_at":"2016-04-04T07:21:38Z","updated_at":"2016-04-04T07:21:38Z","body":"I don't currently have a public repro but Ill see about making one."}}