{"action":"created","issue":{"url":"https://api.github.com/repos/SpryFox/DarkConfig/issues/8","repository_url":"https://api.github.com/repos/SpryFox/DarkConfig","labels_url":"https://api.github.com/repos/SpryFox/DarkConfig/issues/8/labels{/name}","comments_url":"https://api.github.com/repos/SpryFox/DarkConfig/issues/8/comments","events_url":"https://api.github.com/repos/SpryFox/DarkConfig/issues/8/events","html_url":"https://github.com/SpryFox/DarkConfig/issues/8","id":218373829,"number":8,"title":"Context variable passed through to FromDoc and PostDoc functions","user":{"login":"rdw","id":244916,"avatar_url":"https://avatars1.githubusercontent.com/u/244916?v=3","gravatar_id":"","url":"https://api.github.com/users/rdw","html_url":"https://github.com/rdw","followers_url":"https://api.github.com/users/rdw/followers","following_url":"https://api.github.com/users/rdw/following{/other_user}","gists_url":"https://api.github.com/users/rdw/gists{/gist_id}","starred_url":"https://api.github.com/users/rdw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rdw/subscriptions","organizations_url":"https://api.github.com/users/rdw/orgs","repos_url":"https://api.github.com/users/rdw/repos","events_url":"https://api.github.com/users/rdw/events{/privacy}","received_events_url":"https://api.github.com/users/rdw/received_events","type":"User","site_admin":false},"labels":[{"id":543186003,"url":"https://api.github.com/repos/SpryFox/DarkConfig/labels/enhancement","name":"enhancement","color":"84b6eb","default":true}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2017-03-31T01:34:31Z","updated_at":"2017-03-31T20:22:02Z","closed_at":null,"body":"Throwing this idea out there for comments.\r\n\r\nOne of the use cases we have is essentially cross-referencing different databases of config objects.  So we'll have an item which declares some gun mounts, and those have to be registered in a gun database (because we also have guns declared on their own, too).  Or we have a player class that declares its default secondary fire, which we want to look up from a database when we load the class (arguably, we don't have to do that but we are right now, so....).\r\n\r\nIt would help with this if we had access to these databases inside the FromDoc functions (or PostDoc, but we don't actually have many of those).  So one way to do this would be to pass in a Context object, and the caller of Apply or Reify could supply an `object` to stick on there, which FromDocs could retrieve."},"comment":{"url":"https://api.github.com/repos/SpryFox/DarkConfig/issues/comments/290819997","html_url":"https://github.com/SpryFox/DarkConfig/issues/8#issuecomment-290819997","issue_url":"https://api.github.com/repos/SpryFox/DarkConfig/issues/8","id":290819997,"user":{"login":"tenpn","id":360648,"avatar_url":"https://avatars0.githubusercontent.com/u/360648?v=3","gravatar_id":"","url":"https://api.github.com/users/tenpn","html_url":"https://github.com/tenpn","followers_url":"https://api.github.com/users/tenpn/followers","following_url":"https://api.github.com/users/tenpn/following{/other_user}","gists_url":"https://api.github.com/users/tenpn/gists{/gist_id}","starred_url":"https://api.github.com/users/tenpn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tenpn/subscriptions","organizations_url":"https://api.github.com/users/tenpn/orgs","repos_url":"https://api.github.com/users/tenpn/repos","events_url":"https://api.github.com/users/tenpn/events{/privacy}","received_events_url":"https://api.github.com/users/tenpn/received_events","type":"User","site_admin":false},"created_at":"2017-03-31T20:22:02Z","updated_at":"2017-03-31T20:22:02Z","body":"(it'd be optional right?) "}}
{"actor":{"display_login":"tenpn"}}