{"action":"closed","number":269,"pull_request":{"url":"https://api.github.com/repos/JasperFx/marten/pulls/269","id":65884848,"html_url":"https://github.com/JasperFx/marten/pull/269","diff_url":"https://github.com/JasperFx/marten/pull/269.diff","patch_url":"https://github.com/JasperFx/marten/pull/269.patch","issue_url":"https://api.github.com/repos/JasperFx/marten/issues/269","number":269,"state":"closed","locked":false,"title":"added ability to dynamically add subclass hierarchy & docs","user":{"login":"nieve","id":202493,"avatar_url":"https://avatars.githubusercontent.com/u/202493?v=3","gravatar_id":"","url":"https://api.github.com/users/nieve","html_url":"https://github.com/nieve","followers_url":"https://api.github.com/users/nieve/followers","following_url":"https://api.github.com/users/nieve/following{/other_user}","gists_url":"https://api.github.com/users/nieve/gists{/gist_id}","starred_url":"https://api.github.com/users/nieve/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nieve/subscriptions","organizations_url":"https://api.github.com/users/nieve/orgs","repos_url":"https://api.github.com/users/nieve/repos","events_url":"https://api.github.com/users/nieve/events{/privacy}","received_events_url":"https://api.github.com/users/nieve/received_events","type":"User","site_admin":false},"body":"I started this work just doing the doc side of things, then wanted to show an example of how this could be done by using dynamic type discovery as you suggested [here](https://github.com/JasperFx/marten/pull/266#discussion_r58878614). \r\nThis turned out a bit messy and I decided to add this to the framework while adding intelliSense comments that advise users to beware of using this feature willy-nilly. The sample in the docs also gives out this warning.\r\nIf you're not happy with this feature, I can easily remove it; the docs should be in there though I believe.","created_at":"2016-04-09T16:06:14Z","updated_at":"2016-04-12T13:49:25Z","closed_at":"2016-04-12T13:49:25Z","merged_at":null,"merge_commit_sha":"5551f8ce15c23a785bdd8257a18130b91ebd8620","assignee":null,"milestone":{"url":"https://api.github.com/repos/JasperFx/marten/milestones/4","html_url":"https://github.com/JasperFx/marten/milestones/v0.9","labels_url":"https://api.github.com/repos/JasperFx/marten/milestones/4/labels","id":1630558,"number":4,"title":"v0.9","description":"The big \"Include\" feature, .Net projections in the event store, Select() projections","creator":{"login":"jeremydmiller","id":179211,"avatar_url":"https://avatars.githubusercontent.com/u/179211?v=3","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},"open_issues":7,"closed_issues":60,"state":"open","created_at":"2016-03-08T14:15:31Z","updated_at":"2016-04-12T13:49:25Z","due_on":"2016-04-08T05:00:00Z","closed_at":null},"commits_url":"https://api.github.com/repos/JasperFx/marten/pulls/269/commits","review_comments_url":"https://api.github.com/repos/JasperFx/marten/pulls/269/comments","review_comment_url":"https://api.github.com/repos/JasperFx/marten/pulls/comments{/number}","comments_url":"https://api.github.com/repos/JasperFx/marten/issues/269/comments","statuses_url":"https://api.github.com/repos/JasperFx/marten/statuses/8dbb55a7343fbedea1b789ef1cf049ff35cd6c80","head":{"label":"nieve:dynamic-subclass-mapping","ref":"dynamic-subclass-mapping","sha":"8dbb55a7343fbedea1b789ef1cf049ff35cd6c80","user":{"login":"nieve","id":202493,"avatar_url":"https://avatars.githubusercontent.com/u/202493?v=3","gravatar_id":"","url":"https://api.github.com/users/nieve","html_url":"https://github.com/nieve","followers_url":"https://api.github.com/users/nieve/followers","following_url":"https://api.github.com/users/nieve/following{/other_user}","gists_url":"https://api.github.com/users/nieve/gists{/gist_id}","starred_url":"https://api.github.com/users/nieve/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nieve/subscriptions","organizations_url":"https://api.github.com/users/nieve/orgs","repos_url":"https://api.github.com/users/nieve/repos","events_url":"https://api.github.com/users/nieve/events{/privacy}","received_events_url":"https://api.github.com/users/nieve/received_events","type":"User","site_admin":false},"repo":{"id":51207512,"name":"marten","full_name":"nieve/marten","owner":{"login":"nieve","id":202493,"avatar_url":"https://avatars.githubusercontent.com/u/202493?v=3","gravatar_id":"","url":"https://api.github.com/users/nieve","html_url":"https://github.com/nieve","followers_url":"https://api.github.com/users/nieve/followers","following_url":"https://api.github.com/users/nieve/following{/other_user}","gists_url":"https://api.github.com/users/nieve/gists{/gist_id}","starred_url":"https://api.github.com/users/nieve/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nieve/subscriptions","organizations_url":"https://api.github.com/users/nieve/orgs","repos_url":"https://api.github.com/users/nieve/repos","events_url":"https://api.github.com/users/nieve/events{/privacy}","received_events_url":"https://api.github.com/users/nieve/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/nieve/marten","description":"Postgresql as a Document Database and Event Store for .Net Applications","fork":true,"url":"https://api.github.com/repos/nieve/marten","forks_url":"https://api.github.com/repos/nieve/marten/forks","keys_url":"https://api.github.com/repos/nieve/marten/keys{/key_id}","collaborators_url":"https://api.github.com/repos/nieve/marten/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/nieve/marten/teams","hooks_url":"https://api.github.com/repos/nieve/marten/hooks","issue_events_url":"https://api.github.com/repos/nieve/marten/issues/events{/number}","events_url":"https://api.github.com/repos/nieve/marten/events","assignees_url":"https://api.github.com/repos/nieve/marten/assignees{/user}","branches_url":"https://api.github.com/repos/nieve/marten/branches{/branch}","tags_url":"https://api.github.com/repos/nieve/marten/tags","blobs_url":"https://api.github.com/repos/nieve/marten/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/nieve/marten/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/nieve/marten/git/refs{/sha}","trees_url":"https://api.github.com/repos/nieve/marten/git/trees{/sha}","statuses_url":"https://api.github.com/repos/nieve/marten/statuses/{sha}","languages_url":"https://api.github.com/repos/nieve/marten/languages","stargazers_url":"https://api.github.com/repos/nieve/marten/stargazers","contributors_url":"https://api.github.com/repos/nieve/marten/contributors","subscribers_url":"https://api.github.com/repos/nieve/marten/subscribers","subscription_url":"https://api.github.com/repos/nieve/marten/subscription","commits_url":"https://api.github.com/repos/nieve/marten/commits{/sha}","git_commits_url":"https://api.github.com/repos/nieve/marten/git/commits{/sha}","comments_url":"https://api.github.com/repos/nieve/marten/comments{/number}","issue_comment_url":"https://api.github.com/repos/nieve/marten/issues/comments{/number}","contents_url":"https://api.github.com/repos/nieve/marten/contents/{+path}","compare_url":"https://api.github.com/repos/nieve/marten/compare/{base}...{head}","merges_url":"https://api.github.com/repos/nieve/marten/merges","archive_url":"https://api.github.com/repos/nieve/marten/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/nieve/marten/downloads","issues_url":"https://api.github.com/repos/nieve/marten/issues{/number}","pulls_url":"https://api.github.com/repos/nieve/marten/pulls{/number}","milestones_url":"https://api.github.com/repos/nieve/marten/milestones{/number}","notifications_url":"https://api.github.com/repos/nieve/marten/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/nieve/marten/labels{/name}","releases_url":"https://api.github.com/repos/nieve/marten/releases{/id}","deployments_url":"https://api.github.com/repos/nieve/marten/deployments","created_at":"2016-02-06T15:22:35Z","updated_at":"2016-02-06T15:22:36Z","pushed_at":"2016-04-09T15:55:28Z","git_url":"git://github.com/nieve/marten.git","ssh_url":"git@github.com:nieve/marten.git","clone_url":"https://github.com/nieve/marten.git","svn_url":"https://github.com/nieve/marten","homepage":"http://jasperfx.github.io/marten","size":6928,"stargazers_count":0,"watchers_count":0,"language":"C#","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"JasperFx:master","ref":"master","sha":"fbe5331ccfea3a1a45800f6f6658403a03dc905d","user":{"login":"JasperFx","id":10048186,"avatar_url":"https://avatars.githubusercontent.com/u/10048186?v=3","gravatar_id":"","url":"https://api.github.com/users/JasperFx","html_url":"https://github.com/JasperFx","followers_url":"https://api.github.com/users/JasperFx/followers","following_url":"https://api.github.com/users/JasperFx/following{/other_user}","gists_url":"https://api.github.com/users/JasperFx/gists{/gist_id}","starred_url":"https://api.github.com/users/JasperFx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JasperFx/subscriptions","organizations_url":"https://api.github.com/users/JasperFx/orgs","repos_url":"https://api.github.com/users/JasperFx/repos","events_url":"https://api.github.com/users/JasperFx/events{/privacy}","received_events_url":"https://api.github.com/users/JasperFx/received_events","type":"Organization","site_admin":false},"repo":{"id":44125268,"name":"marten","full_name":"JasperFx/marten","owner":{"login":"JasperFx","id":10048186,"avatar_url":"https://avatars.githubusercontent.com/u/10048186?v=3","gravatar_id":"","url":"https://api.github.com/users/JasperFx","html_url":"https://github.com/JasperFx","followers_url":"https://api.github.com/users/JasperFx/followers","following_url":"https://api.github.com/users/JasperFx/following{/other_user}","gists_url":"https://api.github.com/users/JasperFx/gists{/gist_id}","starred_url":"https://api.github.com/users/JasperFx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JasperFx/subscriptions","organizations_url":"https://api.github.com/users/JasperFx/orgs","repos_url":"https://api.github.com/users/JasperFx/repos","events_url":"https://api.github.com/users/JasperFx/events{/privacy}","received_events_url":"https://api.github.com/users/JasperFx/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/JasperFx/marten","description":"Postgresql as a Document Database and Event Store for .Net Applications","fork":false,"url":"https://api.github.com/repos/JasperFx/marten","forks_url":"https://api.github.com/repos/JasperFx/marten/forks","keys_url":"https://api.github.com/repos/JasperFx/marten/keys{/key_id}","collaborators_url":"https://api.github.com/repos/JasperFx/marten/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/JasperFx/marten/teams","hooks_url":"https://api.github.com/repos/JasperFx/marten/hooks","issue_events_url":"https://api.github.com/repos/JasperFx/marten/issues/events{/number}","events_url":"https://api.github.com/repos/JasperFx/marten/events","assignees_url":"https://api.github.com/repos/JasperFx/marten/assignees{/user}","branches_url":"https://api.github.com/repos/JasperFx/marten/branches{/branch}","tags_url":"https://api.github.com/repos/JasperFx/marten/tags","blobs_url":"https://api.github.com/repos/JasperFx/marten/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/JasperFx/marten/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/JasperFx/marten/git/refs{/sha}","trees_url":"https://api.github.com/repos/JasperFx/marten/git/trees{/sha}","statuses_url":"https://api.github.com/repos/JasperFx/marten/statuses/{sha}","languages_url":"https://api.github.com/repos/JasperFx/marten/languages","stargazers_url":"https://api.github.com/repos/JasperFx/marten/stargazers","contributors_url":"https://api.github.com/repos/JasperFx/marten/contributors","subscribers_url":"https://api.github.com/repos/JasperFx/marten/subscribers","subscription_url":"https://api.github.com/repos/JasperFx/marten/subscription","commits_url":"https://api.github.com/repos/JasperFx/marten/commits{/sha}","git_commits_url":"https://api.github.com/repos/JasperFx/marten/git/commits{/sha}","comments_url":"https://api.github.com/repos/JasperFx/marten/comments{/number}","issue_comment_url":"https://api.github.com/repos/JasperFx/marten/issues/comments{/number}","contents_url":"https://api.github.com/repos/JasperFx/marten/contents/{+path}","compare_url":"https://api.github.com/repos/JasperFx/marten/compare/{base}...{head}","merges_url":"https://api.github.com/repos/JasperFx/marten/merges","archive_url":"https://api.github.com/repos/JasperFx/marten/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/JasperFx/marten/downloads","issues_url":"https://api.github.com/repos/JasperFx/marten/issues{/number}","pulls_url":"https://api.github.com/repos/JasperFx/marten/pulls{/number}","milestones_url":"https://api.github.com/repos/JasperFx/marten/milestones{/number}","notifications_url":"https://api.github.com/repos/JasperFx/marten/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/JasperFx/marten/labels{/name}","releases_url":"https://api.github.com/repos/JasperFx/marten/releases{/id}","deployments_url":"https://api.github.com/repos/JasperFx/marten/deployments","created_at":"2015-10-12T18:11:12Z","updated_at":"2016-04-12T08:21:39Z","pushed_at":"2016-04-12T13:48:51Z","git_url":"git://github.com/JasperFx/marten.git","ssh_url":"git@github.com:JasperFx/marten.git","clone_url":"https://github.com/JasperFx/marten.git","svn_url":"https://github.com/JasperFx/marten","homepage":"http://jasperfx.github.io/marten","size":7103,"stargazers_count":194,"watchers_count":194,"language":"C#","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":39,"mirror_url":null,"open_issues_count":50,"forks":39,"open_issues":50,"watchers":194,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/JasperFx/marten/pulls/269"},"html":{"href":"https://github.com/JasperFx/marten/pull/269"},"issue":{"href":"https://api.github.com/repos/JasperFx/marten/issues/269"},"comments":{"href":"https://api.github.com/repos/JasperFx/marten/issues/269/comments"},"review_comments":{"href":"https://api.github.com/repos/JasperFx/marten/pulls/269/comments"},"review_comment":{"href":"https://api.github.com/repos/JasperFx/marten/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/JasperFx/marten/pulls/269/commits"},"statuses":{"href":"https://api.github.com/repos/JasperFx/marten/statuses/8dbb55a7343fbedea1b789ef1cf049ff35cd6c80"}},"merged":false,"mergeable":true,"mergeable_state":"clean","merged_by":null,"comments":1,"review_comments":0,"commits":1,"additions":62,"deletions":2,"changed_files":3}}