{"action":"created","issue":{"url":"https://api.github.com/repos/JasperFx/marten/issues/780","repository_url":"https://api.github.com/repos/JasperFx/marten","labels_url":"https://api.github.com/repos/JasperFx/marten/issues/780/labels{/name}","comments_url":"https://api.github.com/repos/JasperFx/marten/issues/780/comments","events_url":"https://api.github.com/repos/JasperFx/marten/issues/780/events","html_url":"https://github.com/JasperFx/marten/issues/780","id":232353584,"node_id":"MDU6SXNzdWUyMzIzNTM1ODQ=","number":780,"title":"Event Metadata","user":{"login":"jeremydmiller","id":179211,"node_id":"MDQ6VXNlcjE3OTIxMQ==","avatar_url":"https://avatars3.githubusercontent.com/u/179211?v=4","gravatar_id":"","url":"https://api.github.com/users/jeremydmiller","html_url":"https://github.com/jeremydmiller","followers_url":"https://api.github.com/users/jeremydmiller/followers","following_url":"https://api.github.com/users/jeremydmiller/following{/other_user}","gists_url":"https://api.github.com/users/jeremydmiller/gists{/gist_id}","starred_url":"https://api.github.com/users/jeremydmiller/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jeremydmiller/subscriptions","organizations_url":"https://api.github.com/users/jeremydmiller/orgs","repos_url":"https://api.github.com/users/jeremydmiller/repos","events_url":"https://api.github.com/users/jeremydmiller/events{/privacy}","received_events_url":"https://api.github.com/users/jeremydmiller/received_events","type":"User","site_admin":false},"labels":[{"id":272072664,"node_id":"MDU6TGFiZWwyNzIwNzI2NjQ=","url":"https://api.github.com/repos/JasperFx/marten/labels/enhancement","name":"enhancement","color":"84b6eb","default":true},{"id":285931552,"node_id":"MDU6TGFiZWwyODU5MzE1NTI=","url":"https://api.github.com/repos/JasperFx/marten/labels/event%20store","name":"event store","color":"f7c6c7","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":6,"created_at":"2017-05-30T19:16:35Z","updated_at":"2018-08-17T16:32:58Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"Had a couple folks ask lately if there was any way to embed metadata into the event store. The usual examples are things like customer id or region names. \r\n\r\nWe *could* handle this by saying \"just use base classes for the common information.\" From there we'd possibly allow some aggregated querying against the event store by the base type.\r\n\r\nOther ideas:\r\n1. Support an extra HStore column for user supplied key/value header information\r\n1. Support something like duplicated fields for the mt_events and/or mt_streams table\r\n\r\nThe question though becomes how do we expose that information and allow users to search on it? Sticking a `Dictionary<string, object>` property on `Event` is no big deal.\r\n\r\nI guess my question is, what would you use this for? Where would you want to consume this information?\r\n\r\nAlso really unsure how we'd go about capturing this information in the `IEventStore` API"},"comment":{"url":"https://api.github.com/repos/JasperFx/marten/issues/comments/413920528","html_url":"https://github.com/JasperFx/marten/issues/780#issuecomment-413920528","issue_url":"https://api.github.com/repos/JasperFx/marten/issues/780","id":413920528,"node_id":"MDEyOklzc3VlQ29tbWVudDQxMzkyMDUyOA==","user":{"login":"jeremydmiller","id":179211,"node_id":"MDQ6VXNlcjE3OTIxMQ==","avatar_url":"https://avatars3.githubusercontent.com/u/179211?v=4","gravatar_id":"","url":"https://api.github.com/users/jeremydmiller","html_url":"https://github.com/jeremydmiller","followers_url":"https://api.github.com/users/jeremydmiller/followers","following_url":"https://api.github.com/users/jeremydmiller/following{/other_user}","gists_url":"https://api.github.com/users/jeremydmiller/gists{/gist_id}","starred_url":"https://api.github.com/users/jeremydmiller/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jeremydmiller/subscriptions","organizations_url":"https://api.github.com/users/jeremydmiller/orgs","repos_url":"https://api.github.com/users/jeremydmiller/repos","events_url":"https://api.github.com/users/jeremydmiller/events{/privacy}","received_events_url":"https://api.github.com/users/jeremydmiller/received_events","type":"User","site_admin":false},"created_at":"2018-08-17T16:32:58Z","updated_at":"2018-08-17T16:32:58Z","author_association":"CONTRIBUTOR","body":"@eouw0o83hf This got left out of Marten 2.0 because it's a lot of work and there wasn't much demand for it at the time. Since it is an awful lot of work to support this and there's very little concrete definition about what it means or how it'd be used, can you add some concrete examples of what you want here? And as I commented in #1069, you could easily effect this yourself with a base class"}}
{"actor":{"display_login":"jeremydmiller"}}