{"action":"created","issue":{"url":"https://api.github.com/repos/Particular/NServiceBus/issues/2693","labels_url":"https://api.github.com/repos/Particular/NServiceBus/issues/2693/labels{/name}","comments_url":"https://api.github.com/repos/Particular/NServiceBus/issues/2693/comments","events_url":"https://api.github.com/repos/Particular/NServiceBus/issues/2693/events","html_url":"https://github.com/Particular/NServiceBus/pull/2693","id":64452699,"number":2693,"title":"Saga metadata a first level concept","user":{"login":"johnsimons","id":122651,"avatar_url":"https://avatars.githubusercontent.com/u/122651?v=3","gravatar_id":"","url":"https://api.github.com/users/johnsimons","html_url":"https://github.com/johnsimons","followers_url":"https://api.github.com/users/johnsimons/followers","following_url":"https://api.github.com/users/johnsimons/following{/other_user}","gists_url":"https://api.github.com/users/johnsimons/gists{/gist_id}","starred_url":"https://api.github.com/users/johnsimons/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/johnsimons/subscriptions","organizations_url":"https://api.github.com/users/johnsimons/orgs","repos_url":"https://api.github.com/users/johnsimons/repos","events_url":"https://api.github.com/users/johnsimons/events{/privacy}","received_events_url":"https://api.github.com/users/johnsimons/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/Particular/NServiceBus/labels/Feature","name":"Feature","color":"02e10c"}],"state":"closed","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/Particular/NServiceBus/milestones/62","html_url":"https://github.com/Particular/NServiceBus/milestones/6.0.0","labels_url":"https://api.github.com/repos/Particular/NServiceBus/milestones/62/labels","id":704266,"number":62,"title":"6.0.0","description":"Setting up deployment process","creator":{"login":"SimonCropp","id":122666,"avatar_url":"https://avatars.githubusercontent.com/u/122666?v=3","gravatar_id":"","url":"https://api.github.com/users/SimonCropp","html_url":"https://github.com/SimonCropp","followers_url":"https://api.github.com/users/SimonCropp/followers","following_url":"https://api.github.com/users/SimonCropp/following{/other_user}","gists_url":"https://api.github.com/users/SimonCropp/gists{/gist_id}","starred_url":"https://api.github.com/users/SimonCropp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SimonCropp/subscriptions","organizations_url":"https://api.github.com/users/SimonCropp/orgs","repos_url":"https://api.github.com/users/SimonCropp/repos","events_url":"https://api.github.com/users/SimonCropp/events{/privacy}","received_events_url":"https://api.github.com/users/SimonCropp/received_events","type":"User","site_admin":false},"open_issues":21,"closed_issues":16,"state":"open","created_at":"2014-06-28T13:41:09Z","updated_at":"2015-04-08T01:01:42Z","due_on":null,"closed_at":null},"comments":10,"created_at":"2015-03-26T06:43:33Z","updated_at":"2015-04-08T01:02:55Z","closed_at":"2015-04-08T01:01:42Z","pull_request":{"url":"https://api.github.com/repos/Particular/NServiceBus/pulls/2693","html_url":"https://github.com/Particular/NServiceBus/pull/2693","diff_url":"https://github.com/Particular/NServiceBus/pull/2693.diff","patch_url":"https://github.com/Particular/NServiceBus/pull/2693.patch"},"body":"## Changes included in this PR\r\n\r\n1. `UniqueAttribute` is now deprecated, correlation properties are automatically *unique*, what this means is that NServiceBus will automatically uniquely correlate the properties mapped, eg:\r\n\r\n    ```c#\r\n    protected override void ConfigureHowToFindSaga(SagaPropertyMapper<Saga1Data> mapper)\r\n    {\r\n        mapper.ConfigureMapping<StartSaga>(m => m.DataId).ToSaga(s => s.DataId);\r\n    }\r\n    ```\r\nIn the above example `DataId` will be automatically correlated.\r\n1. `NServiceBus.Sagas.ActiveSagaInstance` moved to `NServiceBus.Saga.ActiveSagaInstance`\r\n1. `ISagaPersister` interface was changed to include `void Initialize(SagaMetaModel model)`, this new method is invoked by the framework to provide implementation classes with the new `SagaMetaModel` model, which exposes all the metamodel for a saga type.\r\n1. A new `SagaMetadata` class is now exposed that provide advance users with the ability to query the metadata model for saga details, such as:\r\n    - `CorrelationProperties`, list of mappings;\r\n    - Finders, this is the list of `IFindSagas<T>.Using<M>`;\r\n    - `SagaEntityType`;\r\n      \r\n   The `SagaMetadata` instance is exposed via `ISagaPersister.Initialize`\r\n\r\n## Issues addressed"},"comment":{"url":"https://api.github.com/repos/Particular/NServiceBus/issues/comments/90771833","html_url":"https://github.com/Particular/NServiceBus/pull/2693#issuecomment-90771833","issue_url":"https://api.github.com/repos/Particular/NServiceBus/issues/2693","id":90771833,"user":{"login":"johnsimons","id":122651,"avatar_url":"https://avatars.githubusercontent.com/u/122651?v=3","gravatar_id":"","url":"https://api.github.com/users/johnsimons","html_url":"https://github.com/johnsimons","followers_url":"https://api.github.com/users/johnsimons/followers","following_url":"https://api.github.com/users/johnsimons/following{/other_user}","gists_url":"https://api.github.com/users/johnsimons/gists{/gist_id}","starred_url":"https://api.github.com/users/johnsimons/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/johnsimons/subscriptions","organizations_url":"https://api.github.com/users/johnsimons/orgs","repos_url":"https://api.github.com/users/johnsimons/repos","events_url":"https://api.github.com/users/johnsimons/events{/privacy}","received_events_url":"https://api.github.com/users/johnsimons/received_events","type":"User","site_admin":false},"created_at":"2015-04-08T01:02:54Z","updated_at":"2015-04-08T01:02:54Z","body":"@andreasohlund can you please review the description and title of this issue.\r\nAlso what issues does this PR closes ?"}}