{"action":"created","issue":{"url":"https://api.github.com/repos/Particular/NServiceBus/issues/3074","repository_url":"https://api.github.com/repos/Particular/NServiceBus","labels_url":"https://api.github.com/repos/Particular/NServiceBus/issues/3074/labels{/name}","comments_url":"https://api.github.com/repos/Particular/NServiceBus/issues/3074/comments","events_url":"https://api.github.com/repos/Particular/NServiceBus/issues/3074/events","html_url":"https://github.com/Particular/NServiceBus/issues/3074","id":116306389,"number":3074,"title":"Confusing obsoletes for Storage","user":{"login":"andreasohlund","id":125028,"avatar_url":"https://avatars.githubusercontent.com/u/125028?v=3","gravatar_id":"","url":"https://api.github.com/users/andreasohlund","html_url":"https://github.com/andreasohlund","followers_url":"https://api.github.com/users/andreasohlund/followers","following_url":"https://api.github.com/users/andreasohlund/following{/other_user}","gists_url":"https://api.github.com/users/andreasohlund/gists{/gist_id}","starred_url":"https://api.github.com/users/andreasohlund/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andreasohlund/subscriptions","organizations_url":"https://api.github.com/users/andreasohlund/orgs","repos_url":"https://api.github.com/users/andreasohlund/repos","events_url":"https://api.github.com/users/andreasohlund/events{/privacy}","received_events_url":"https://api.github.com/users/andreasohlund/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/Particular/NServiceBus/labels/Type:%20Bug","name":"Type: Bug","color":"e10c02"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-11-11T10:35:09Z","updated_at":"2016-06-22T10:55:04Z","closed_at":null,"body":"In v6 if using the old syntax to specify a specific storage eg:\r\n\r\n`c.UsePersistence<FakeTmStorage>().For(Storage.Timeouts);`\r\n\r\nwill give 2 compiler errors\r\n\r\n```\r\n'Storage' is obsolete: Please use `NServiceBus.Persistence.StorageType` instead\r\n\r\n```\r\n\r\nand \r\n\r\n```\r\nPersistenceExtentions<FakeTmStorage>.For(params Storage[])' is obsolete:\r\nPlease use `UsePersistence<T, S>()` instead\r\n```\r\nFollowing the first will lead no where since changing to `StorageType` give other compile errors since `Storage` is a enum but `StorageType` is a class.\r\n\r\nFollowing the second error is the way to go. \r\n\r\n"},"comment":{"url":"https://api.github.com/repos/Particular/NServiceBus/issues/comments/227709869","html_url":"https://github.com/Particular/NServiceBus/issues/3074#issuecomment-227709869","issue_url":"https://api.github.com/repos/Particular/NServiceBus/issues/3074","id":227709869,"user":{"login":"andreasohlund","id":125028,"avatar_url":"https://avatars.githubusercontent.com/u/125028?v=3","gravatar_id":"","url":"https://api.github.com/users/andreasohlund","html_url":"https://github.com/andreasohlund","followers_url":"https://api.github.com/users/andreasohlund/followers","following_url":"https://api.github.com/users/andreasohlund/following{/other_user}","gists_url":"https://api.github.com/users/andreasohlund/gists{/gist_id}","starred_url":"https://api.github.com/users/andreasohlund/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andreasohlund/subscriptions","organizations_url":"https://api.github.com/users/andreasohlund/orgs","repos_url":"https://api.github.com/users/andreasohlund/repos","events_url":"https://api.github.com/users/andreasohlund/events{/privacy}","received_events_url":"https://api.github.com/users/andreasohlund/received_events","type":"User","site_admin":false},"created_at":"2016-06-22T10:55:04Z","updated_at":"2016-06-22T10:55:04Z","body":"@timbussmann yea, makes sense. Let's do it under maintainer prio"}}
{"actor":{"display_login":"andreasohlund"}}