{"action":"created","issue":{"url":"https://api.github.com/repos/daostack/arc/issues/470","repository_url":"https://api.github.com/repos/daostack/arc","labels_url":"https://api.github.com/repos/daostack/arc/issues/470/labels{/name}","comments_url":"https://api.github.com/repos/daostack/arc/issues/470/comments","events_url":"https://api.github.com/repos/daostack/arc/issues/470/events","html_url":"https://github.com/daostack/arc/issues/470","id":327112939,"node_id":"MDU6SXNzdWUzMjcxMTI5Mzk=","number":470,"title":"There is no way to get the parameters of a global constraint","user":{"login":"dkent600","id":1821666,"node_id":"MDQ6VXNlcjE4MjE2NjY=","avatar_url":"https://avatars0.githubusercontent.com/u/1821666?v=4","gravatar_id":"","url":"https://api.github.com/users/dkent600","html_url":"https://github.com/dkent600","followers_url":"https://api.github.com/users/dkent600/followers","following_url":"https://api.github.com/users/dkent600/following{/other_user}","gists_url":"https://api.github.com/users/dkent600/gists{/gist_id}","starred_url":"https://api.github.com/users/dkent600/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dkent600/subscriptions","organizations_url":"https://api.github.com/users/dkent600/orgs","repos_url":"https://api.github.com/users/dkent600/repos","events_url":"https://api.github.com/users/dkent600/events{/privacy}","received_events_url":"https://api.github.com/users/dkent600/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2018-05-28T20:35:17Z","updated_at":"2018-05-31T15:46:11Z","closed_at":null,"author_association":"COLLABORATOR","body":"There is no way to get the parameters of a given global constraint (not that I have found, anyway).\r\n\r\nSo I propose that we add a function `Controller.getGlobalConstraintParameters`, similar to the existing `Controller.getSchemeParameters`.\r\n\r\nVanille needs to enable the user to see the current parameters of given global constraint before modifying them."},"comment":{"url":"https://api.github.com/repos/daostack/arc/issues/comments/393576046","html_url":"https://github.com/daostack/arc/issues/470#issuecomment-393576046","issue_url":"https://api.github.com/repos/daostack/arc/issues/470","id":393576046,"node_id":"MDEyOklzc3VlQ29tbWVudDM5MzU3NjA0Ng==","user":{"login":"orenyodfat","id":5994398,"node_id":"MDQ6VXNlcjU5OTQzOTg=","avatar_url":"https://avatars2.githubusercontent.com/u/5994398?v=4","gravatar_id":"","url":"https://api.github.com/users/orenyodfat","html_url":"https://github.com/orenyodfat","followers_url":"https://api.github.com/users/orenyodfat/followers","following_url":"https://api.github.com/users/orenyodfat/following{/other_user}","gists_url":"https://api.github.com/users/orenyodfat/gists{/gist_id}","starred_url":"https://api.github.com/users/orenyodfat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/orenyodfat/subscriptions","organizations_url":"https://api.github.com/users/orenyodfat/orgs","repos_url":"https://api.github.com/users/orenyodfat/repos","events_url":"https://api.github.com/users/orenyodfat/events{/privacy}","received_events_url":"https://api.github.com/users/orenyodfat/received_events","type":"User","site_admin":false},"created_at":"2018-05-31T15:46:10Z","updated_at":"2018-05-31T15:46:10Z","author_association":"MEMBER","body":"it is preferable adding complexity to client code than to the contract .\nAny how it seems to be low priority .\n\nOn Thu, 31 May 2018 at 16:47 Doug Kent <notifications@github.com> wrote:\n\n> You can get the length of globalConstraintsPre and globalConstraintsPre\n> using globalConstraintsCount and then iterate over these arrays.\n>\n> Controller.getGlobalConstraintParameters would be simple to implement and\n> would be consistent with Controller.getSchemeParameters in reasoning and\n> API design pattern.\n>\n> The suggested alternative is neither consistent nor obvious/intuitive, and\n> requires extra coding at the client.\n>\n> —\n> You are receiving this because you commented.\n> Reply to this email directly, view it on GitHub\n> <https://github.com/daostack/arc/issues/470#issuecomment-393535575>, or mute\n> the thread\n> <https://github.com/notifications/unsubscribe-auth/AFt3nomovH6zOj1_LbXQIYy79d0fjgwAks5t3_R3gaJpZM4UQlPp>\n> .\n>\n"}}
{"actor":{"display_login":"orenyodfat"}}