{"action":"created","issue":{"url":"https://api.github.com/repos/google/jsonnet/issues/216","repository_url":"https://api.github.com/repos/google/jsonnet","labels_url":"https://api.github.com/repos/google/jsonnet/issues/216/labels{/name}","comments_url":"https://api.github.com/repos/google/jsonnet/issues/216/comments","events_url":"https://api.github.com/repos/google/jsonnet/issues/216/events","html_url":"https://github.com/google/jsonnet/issues/216","id":164927242,"number":216,"title":"std.mergePatch doesn't respect laziness","user":{"login":"andrewmchen","id":4492809,"avatar_url":"https://avatars.githubusercontent.com/u/4492809?v=3","gravatar_id":"","url":"https://api.github.com/users/andrewmchen","html_url":"https://github.com/andrewmchen","followers_url":"https://api.github.com/users/andrewmchen/followers","following_url":"https://api.github.com/users/andrewmchen/following{/other_user}","gists_url":"https://api.github.com/users/andrewmchen/gists{/gist_id}","starred_url":"https://api.github.com/users/andrewmchen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andrewmchen/subscriptions","organizations_url":"https://api.github.com/users/andrewmchen/orgs","repos_url":"https://api.github.com/users/andrewmchen/repos","events_url":"https://api.github.com/users/andrewmchen/events{/privacy}","received_events_url":"https://api.github.com/users/andrewmchen/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-07-11T20:31:14Z","updated_at":"2016-07-20T00:23:39Z","closed_at":"2016-07-20T00:23:39Z","body":"For example\r\n```\r\n//a.jsonnet\r\n{\r\n  a: \"hello\",\r\n  b: {field_to_override: $.a}\r\n}\r\n```\r\n```\r\n//b.jsonnet\r\nlocal a = import \"a.jsonnet\";\r\n\r\na + {\r\n  a: \"override\",\r\n  b: std.mergePatch(a[\"b\"], {new: \"field\"})\r\n}\r\n```\r\n\r\nRESULTS IN:\r\n```\r\n{\r\n   \"a\": \"override\",\r\n   \"b\": {\r\n      \"field_to_override\": \"hello\",\r\n      \"new\": \"field\"\r\n   }\r\n}\r\n```\r\n\r\n\r\nWhereas I expected field_to_override to be `override`."},"comment":{"url":"https://api.github.com/repos/google/jsonnet/issues/comments/233805376","html_url":"https://github.com/google/jsonnet/issues/216#issuecomment-233805376","issue_url":"https://api.github.com/repos/google/jsonnet/issues/216","id":233805376,"user":{"login":"sparkprime","id":168158,"avatar_url":"https://avatars.githubusercontent.com/u/168158?v=3","gravatar_id":"","url":"https://api.github.com/users/sparkprime","html_url":"https://github.com/sparkprime","followers_url":"https://api.github.com/users/sparkprime/followers","following_url":"https://api.github.com/users/sparkprime/following{/other_user}","gists_url":"https://api.github.com/users/sparkprime/gists{/gist_id}","starred_url":"https://api.github.com/users/sparkprime/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sparkprime/subscriptions","organizations_url":"https://api.github.com/users/sparkprime/orgs","repos_url":"https://api.github.com/users/sparkprime/repos","events_url":"https://api.github.com/users/sparkprime/events{/privacy}","received_events_url":"https://api.github.com/users/sparkprime/received_events","type":"User","site_admin":false},"created_at":"2016-07-20T00:23:39Z","updated_at":"2016-07-20T00:23:39Z","body":"Closing for inactivity, please re-open if you like"}}
{"actor":{"display_login":"sparkprime"}}