{"action":"created","issue":{"url":"https://api.github.com/repos/Microsoft/tfs-cli/issues/97","repository_url":"https://api.github.com/repos/Microsoft/tfs-cli","labels_url":"https://api.github.com/repos/Microsoft/tfs-cli/issues/97/labels{/name}","comments_url":"https://api.github.com/repos/Microsoft/tfs-cli/issues/97/comments","events_url":"https://api.github.com/repos/Microsoft/tfs-cli/issues/97/events","html_url":"https://github.com/Microsoft/tfs-cli/issues/97","id":141969033,"number":97,"title":"When using --override it's not possible to remove galleryFlags","user":{"login":"jessehouwing","id":4173387,"avatar_url":"https://avatars.githubusercontent.com/u/4173387?v=3","gravatar_id":"","url":"https://api.github.com/users/jessehouwing","html_url":"https://github.com/jessehouwing","followers_url":"https://api.github.com/users/jessehouwing/followers","following_url":"https://api.github.com/users/jessehouwing/following{/other_user}","gists_url":"https://api.github.com/users/jessehouwing/gists{/gist_id}","starred_url":"https://api.github.com/users/jessehouwing/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jessehouwing/subscriptions","organizations_url":"https://api.github.com/users/jessehouwing/orgs","repos_url":"https://api.github.com/users/jessehouwing/repos","events_url":"https://api.github.com/users/jessehouwing/events{/privacy}","received_events_url":"https://api.github.com/users/jessehouwing/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-03-18T20:23:36Z","updated_at":"2016-03-21T15:14:48Z","closed_at":null,"body":"When using `--override` it's not possible to remove the public flag or remove the preview flag.\r\n\r\nRight now I solve this by not having a galleryflags in my manifests in sourcecontrol and handling the setting of these flags during publishing. It would be nice if it were possible to blanket-overwrite the galleryFlags json array.\r\n\r\nI assume this may cause issues when trying to override other array items. Though I wonder is people ever use the override option in such a way."},"comment":{"url":"https://api.github.com/repos/Microsoft/tfs-cli/issues/comments/199332909","html_url":"https://github.com/Microsoft/tfs-cli/issues/97#issuecomment-199332909","issue_url":"https://api.github.com/repos/Microsoft/tfs-cli/issues/97","id":199332909,"user":{"login":"jessehouwing","id":4173387,"avatar_url":"https://avatars.githubusercontent.com/u/4173387?v=3","gravatar_id":"","url":"https://api.github.com/users/jessehouwing","html_url":"https://github.com/jessehouwing","followers_url":"https://api.github.com/users/jessehouwing/followers","following_url":"https://api.github.com/users/jessehouwing/following{/other_user}","gists_url":"https://api.github.com/users/jessehouwing/gists{/gist_id}","starred_url":"https://api.github.com/users/jessehouwing/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jessehouwing/subscriptions","organizations_url":"https://api.github.com/users/jessehouwing/orgs","repos_url":"https://api.github.com/users/jessehouwing/repos","events_url":"https://api.github.com/users/jessehouwing/events{/privacy}","received_events_url":"https://api.github.com/users/jessehouwing/received_events","type":"User","site_admin":false},"created_at":"2016-03-21T15:14:48Z","updated_at":"2016-03-21T15:14:48Z","body":"Using jsonpath object transform would make the override a lot more powerful: https://www.npmjs.com/package/jsonpath-object-transform"}}