{"action":"opened","issue":{"url":"https://api.github.com/repos/intellifactory/websharper/issues/732","repository_url":"https://api.github.com/repos/intellifactory/websharper","labels_url":"https://api.github.com/repos/intellifactory/websharper/issues/732/labels{/name}","comments_url":"https://api.github.com/repos/intellifactory/websharper/issues/732/comments","events_url":"https://api.github.com/repos/intellifactory/websharper/issues/732/events","html_url":"https://github.com/intellifactory/websharper/issues/732","id":246331555,"number":732,"title":"Allow more ways to get an argument value for `InlineControl`","user":{"login":"Jand42","id":3116993,"avatar_url":"https://avatars3.githubusercontent.com/u/3116993?v=4","gravatar_id":"","url":"https://api.github.com/users/Jand42","html_url":"https://github.com/Jand42","followers_url":"https://api.github.com/users/Jand42/followers","following_url":"https://api.github.com/users/Jand42/following{/other_user}","gists_url":"https://api.github.com/users/Jand42/gists{/gist_id}","starred_url":"https://api.github.com/users/Jand42/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Jand42/subscriptions","organizations_url":"https://api.github.com/users/Jand42/orgs","repos_url":"https://api.github.com/users/Jand42/repos","events_url":"https://api.github.com/users/Jand42/events{/privacy}","received_events_url":"https://api.github.com/users/Jand42/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-07-28T12:19:48Z","updated_at":"2017-07-28T12:19:48Z","closed_at":null,"body":"For example `client <@ myClientSideFunction myServerSideModuleValue @>` fails with `argument #1 is not a literal or local variable`.\r\n\r\nWorkaround is to add a `let myLocalValue = myServerSideModuleValue` in the same scope. and use that in the quotation.\r\n\r\nImprovement: add more recognizers to get argument values, if it is a static property get or method call, execute it to get the value. Optionally: if it has arguments itself, or is not static, use recursion to try to get evaluate the quotation.\r\n\r\nSimilarly for C# version consuming `Linq.Expression`s."}}
{"actor":{"display_login":"Jand42"}}