{"action":"created","issue":{"url":"https://api.github.com/repos/icelab/formalist/issues/20","repository_url":"https://api.github.com/repos/icelab/formalist","labels_url":"https://api.github.com/repos/icelab/formalist/issues/20/labels{/name}","comments_url":"https://api.github.com/repos/icelab/formalist/issues/20/comments","events_url":"https://api.github.com/repos/icelab/formalist/issues/20/events","html_url":"https://github.com/icelab/formalist/issues/20","id":128021732,"number":20,"title":"Consider posting back plain form data instead of the AST","user":{"login":"timriley","id":3134,"avatar_url":"https://avatars.githubusercontent.com/u/3134?v=3","gravatar_id":"","url":"https://api.github.com/users/timriley","html_url":"https://github.com/timriley","followers_url":"https://api.github.com/users/timriley/followers","following_url":"https://api.github.com/users/timriley/following{/other_user}","gists_url":"https://api.github.com/users/timriley/gists{/gist_id}","starred_url":"https://api.github.com/users/timriley/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/timriley/subscriptions","organizations_url":"https://api.github.com/users/timriley/orgs","repos_url":"https://api.github.com/users/timriley/repos","events_url":"https://api.github.com/users/timriley/events{/privacy}","received_events_url":"https://api.github.com/users/timriley/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2016-01-21T21:19:08Z","updated_at":"2016-02-23T23:21:54Z","closed_at":null,"body":"Right now we don't include any extra information in the AST sent back from the form on the page that isn't already in the form's own definition on the server-side.\r\n\r\nCould we consider just posting plain HTML form elements instead?\r\n\r\nThings we'd need to handle:\r\n\r\n* A convention for holding the array of objects within the `many` elements\r\n* A way to coerce types back on the server"},"comment":{"url":"https://api.github.com/repos/icelab/formalist/issues/comments/187961871","html_url":"https://github.com/icelab/formalist/issues/20#issuecomment-187961871","issue_url":"https://api.github.com/repos/icelab/formalist/issues/20","id":187961871,"user":{"login":"timriley","id":3134,"avatar_url":"https://avatars.githubusercontent.com/u/3134?v=3","gravatar_id":"","url":"https://api.github.com/users/timriley","html_url":"https://github.com/timriley","followers_url":"https://api.github.com/users/timriley/followers","following_url":"https://api.github.com/users/timriley/following{/other_user}","gists_url":"https://api.github.com/users/timriley/gists{/gist_id}","starred_url":"https://api.github.com/users/timriley/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/timriley/subscriptions","organizations_url":"https://api.github.com/users/timriley/orgs","repos_url":"https://api.github.com/users/timriley/repos","events_url":"https://api.github.com/users/timriley/events{/privacy}","received_events_url":"https://api.github.com/users/timriley/received_events","type":"User","site_admin":false},"created_at":"2016-02-23T23:21:54Z","updated_at":"2016-02-23T23:21:54Z","body":"From @solnic's feedback, sounds like we should try and make this happen reasonably soon. Once our apps’ operation objects are using formalist form objects directly, their input data is then required to match the form object's input data, and if that is a crazy-large AST-as-json, it becomes pretty awkward to work with those objects in isolation, like in tests. And ease of testing is a bit part of why we have them as standalone operations."}}