{"action":"created","issue":{"url":"https://api.github.com/repos/nunit/nunit/issues/1196","labels_url":"https://api.github.com/repos/nunit/nunit/issues/1196/labels{/name}","comments_url":"https://api.github.com/repos/nunit/nunit/issues/1196/comments","events_url":"https://api.github.com/repos/nunit/nunit/issues/1196/events","html_url":"https://github.com/nunit/nunit/issues/1196","id":126880716,"number":1196,"title":"Custom value formatter for v3 via MsgUtils","user":{"login":"et1975","id":623703,"avatar_url":"https://avatars.githubusercontent.com/u/623703?v=3","gravatar_id":"","url":"https://api.github.com/users/et1975","html_url":"https://github.com/et1975","followers_url":"https://api.github.com/users/et1975/followers","following_url":"https://api.github.com/users/et1975/following{/other_user}","gists_url":"https://api.github.com/users/et1975/gists{/gist_id}","starred_url":"https://api.github.com/users/et1975/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/et1975/subscriptions","organizations_url":"https://api.github.com/users/et1975/orgs","repos_url":"https://api.github.com/users/et1975/repos","events_url":"https://api.github.com/users/et1975/events{/privacy}","received_events_url":"https://api.github.com/users/et1975/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/nunit/nunit/labels/pri:normal","name":"pri:normal","color":"fbca04"},{"url":"https://api.github.com/repos/nunit/nunit/labels/status:design","name":"status:design","color":"bfdadc"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/nunit/nunit/milestones/21","html_url":"https://github.com/nunit/nunit/milestones/Backlog","labels_url":"https://api.github.com/repos/nunit/nunit/milestones/21/labels","id":1444615,"number":21,"title":"Backlog","description":"This pseudo-milestone contains all items accepted for implementation but not assigned to a specific milestone. Developers should give priority to work on the current milestone, but may also chose items from the backlog to work on.","creator":{"login":"CharliePoole","id":2678661,"avatar_url":"https://avatars.githubusercontent.com/u/2678661?v=3","gravatar_id":"","url":"https://api.github.com/users/CharliePoole","html_url":"https://github.com/CharliePoole","followers_url":"https://api.github.com/users/CharliePoole/followers","following_url":"https://api.github.com/users/CharliePoole/following{/other_user}","gists_url":"https://api.github.com/users/CharliePoole/gists{/gist_id}","starred_url":"https://api.github.com/users/CharliePoole/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CharliePoole/subscriptions","organizations_url":"https://api.github.com/users/CharliePoole/orgs","repos_url":"https://api.github.com/users/CharliePoole/repos","events_url":"https://api.github.com/users/CharliePoole/events{/privacy}","received_events_url":"https://api.github.com/users/CharliePoole/received_events","type":"User","site_admin":false},"open_issues":116,"closed_issues":0,"state":"open","created_at":"2015-12-04T17:34:57Z","updated_at":"2016-01-15T16:38:02Z","due_on":"2020-12-31T08:00:00Z","closed_at":null},"comments":7,"created_at":"2016-01-15T14:16:15Z","updated_at":"2016-01-15T19:28:11Z","closed_at":null,"body":"I'm trying to implement custom value formatting for fsprojects/FsUnit#82 and looking at MsgUtils that seems to be the place to get it working for all constraints.\r\nI'd like to be able to inject a custom formatter that, if present, would be invoked from FormatValue(); something like:\r\n```\r\n    public static Func<object,string> CustomValueFormatter;\r\n``` \r\n\r\nEdit: just noticed MsgUtils is internal... looking for alternatives then."},"comment":{"url":"https://api.github.com/repos/nunit/nunit/issues/comments/172060908","html_url":"https://github.com/nunit/nunit/issues/1196#issuecomment-172060908","issue_url":"https://api.github.com/repos/nunit/nunit/issues/1196","id":172060908,"user":{"login":"rprouse","id":493828,"avatar_url":"https://avatars.githubusercontent.com/u/493828?v=3","gravatar_id":"","url":"https://api.github.com/users/rprouse","html_url":"https://github.com/rprouse","followers_url":"https://api.github.com/users/rprouse/followers","following_url":"https://api.github.com/users/rprouse/following{/other_user}","gists_url":"https://api.github.com/users/rprouse/gists{/gist_id}","starred_url":"https://api.github.com/users/rprouse/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rprouse/subscriptions","organizations_url":"https://api.github.com/users/rprouse/orgs","repos_url":"https://api.github.com/users/rprouse/repos","events_url":"https://api.github.com/users/rprouse/events{/privacy}","received_events_url":"https://api.github.com/users/rprouse/received_events","type":"User","site_admin":false},"created_at":"2016-01-15T19:28:11Z","updated_at":"2016-01-15T19:28:11Z","body":"It may be overkill for this use case, but this might be useful for NUnit itself. I could see us migrating all of our formatters out to a custom formatter per type while still allowing end users to override or add their own formatters.\r\n\r\nSo, as long as users can add to an already existing chain of formatters, I would be cool with it."}}