{"action":"created","issue":{"url":"https://api.github.com/repos/redux-autoform/redux-autoform/issues/35","repository_url":"https://api.github.com/repos/redux-autoform/redux-autoform","labels_url":"https://api.github.com/repos/redux-autoform/redux-autoform/issues/35/labels{/name}","comments_url":"https://api.github.com/repos/redux-autoform/redux-autoform/issues/35/comments","events_url":"https://api.github.com/repos/redux-autoform/redux-autoform/issues/35/events","html_url":"https://github.com/redux-autoform/redux-autoform/issues/35","id":166385759,"number":35,"title":"Support for an alternative and simpler syntax for schema","user":{"login":"andrerpena","id":1581429,"avatar_url":"https://avatars.githubusercontent.com/u/1581429?v=3","gravatar_id":"","url":"https://api.github.com/users/andrerpena","html_url":"https://github.com/andrerpena","followers_url":"https://api.github.com/users/andrerpena/followers","following_url":"https://api.github.com/users/andrerpena/following{/other_user}","gists_url":"https://api.github.com/users/andrerpena/gists{/gist_id}","starred_url":"https://api.github.com/users/andrerpena/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andrerpena/subscriptions","organizations_url":"https://api.github.com/users/andrerpena/orgs","repos_url":"https://api.github.com/users/andrerpena/repos","events_url":"https://api.github.com/users/andrerpena/events{/privacy}","received_events_url":"https://api.github.com/users/andrerpena/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/redux-autoform/redux-autoform/labels/Under%20development","name":"Under development","color":"5319e7"}],"state":"closed","locked":false,"assignee":{"login":"andrerpena","id":1581429,"avatar_url":"https://avatars.githubusercontent.com/u/1581429?v=3","gravatar_id":"","url":"https://api.github.com/users/andrerpena","html_url":"https://github.com/andrerpena","followers_url":"https://api.github.com/users/andrerpena/followers","following_url":"https://api.github.com/users/andrerpena/following{/other_user}","gists_url":"https://api.github.com/users/andrerpena/gists{/gist_id}","starred_url":"https://api.github.com/users/andrerpena/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andrerpena/subscriptions","organizations_url":"https://api.github.com/users/andrerpena/orgs","repos_url":"https://api.github.com/users/andrerpena/repos","events_url":"https://api.github.com/users/andrerpena/events{/privacy}","received_events_url":"https://api.github.com/users/andrerpena/received_events","type":"User","site_admin":false},"assignees":[{"login":"andrerpena","id":1581429,"avatar_url":"https://avatars.githubusercontent.com/u/1581429?v=3","gravatar_id":"","url":"https://api.github.com/users/andrerpena","html_url":"https://github.com/andrerpena","followers_url":"https://api.github.com/users/andrerpena/followers","following_url":"https://api.github.com/users/andrerpena/following{/other_user}","gists_url":"https://api.github.com/users/andrerpena/gists{/gist_id}","starred_url":"https://api.github.com/users/andrerpena/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andrerpena/subscriptions","organizations_url":"https://api.github.com/users/andrerpena/orgs","repos_url":"https://api.github.com/users/andrerpena/repos","events_url":"https://api.github.com/users/andrerpena/events{/privacy}","received_events_url":"https://api.github.com/users/andrerpena/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/redux-autoform/redux-autoform/milestones/1","html_url":"https://github.com/redux-autoform/redux-autoform/milestones/v1.0.0","labels_url":"https://api.github.com/repos/redux-autoform/redux-autoform/milestones/1/labels","id":1894156,"number":1,"title":"v1.0.0","description":"This will be a breaking version with the following features: \r\n- UI agnostic\r\n- More UI availables \r\n- Fix and improvements in core API\r\n- Adding update documentation/homepage/demos","creator":{"login":"JonatanSalas","id":7697196,"avatar_url":"https://avatars.githubusercontent.com/u/7697196?v=3","gravatar_id":"","url":"https://api.github.com/users/JonatanSalas","html_url":"https://github.com/JonatanSalas","followers_url":"https://api.github.com/users/JonatanSalas/followers","following_url":"https://api.github.com/users/JonatanSalas/following{/other_user}","gists_url":"https://api.github.com/users/JonatanSalas/gists{/gist_id}","starred_url":"https://api.github.com/users/JonatanSalas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JonatanSalas/subscriptions","organizations_url":"https://api.github.com/users/JonatanSalas/orgs","repos_url":"https://api.github.com/users/JonatanSalas/repos","events_url":"https://api.github.com/users/JonatanSalas/events{/privacy}","received_events_url":"https://api.github.com/users/JonatanSalas/received_events","type":"User","site_admin":false},"open_issues":8,"closed_issues":2,"state":"open","created_at":"2016-07-20T13:48:31Z","updated_at":"2016-07-22T14:32:54Z","due_on":null,"closed_at":null},"comments":9,"created_at":"2016-07-19T17:15:48Z","updated_at":"2016-07-22T14:48:29Z","closed_at":"2016-07-22T14:32:54Z","body":"redux-autoform's schema syntax is somewhat complex. There's need for this complexity but may be it should support a simpler alternative syntax that abstracts the concept of `entities` and `layouts`. \r\n\r\nFor instance, this would be enough for running a simple form:\r\n\r\n```\r\n[\r\n\t{ name: 'name', type: 'string' },\r\n\t{ name: 'dateOfBirth', type: 'date' },\r\n] \r\n```\r\n\r\nThis would also work:\r\n\r\n```\r\n{\r\n\tname: {\r\n\t\ttype: 'string'\r\n\t},\r\n\tdateOfBirth: {\r\n\t\ttype: 'string'\r\n\t}\r\n}\r\n```\r\n\r\nThe only problem with the above approach is that I favored `arrays` over `objects` and I did that because arrays are easier to merge. I mean, adding a field in the position 3 and removing the one on position 1 is kind of easier using arrays. But I'm open to alternatives anyway.\r\n\r\nWhat do you guys think?\r\n@JonatanSalas ?\r\n"},"comment":{"url":"https://api.github.com/repos/redux-autoform/redux-autoform/issues/comments/234564317","html_url":"https://github.com/redux-autoform/redux-autoform/issues/35#issuecomment-234564317","issue_url":"https://api.github.com/repos/redux-autoform/redux-autoform/issues/35","id":234564317,"user":{"login":"JonatanSalas","id":7697196,"avatar_url":"https://avatars.githubusercontent.com/u/7697196?v=3","gravatar_id":"","url":"https://api.github.com/users/JonatanSalas","html_url":"https://github.com/JonatanSalas","followers_url":"https://api.github.com/users/JonatanSalas/followers","following_url":"https://api.github.com/users/JonatanSalas/following{/other_user}","gists_url":"https://api.github.com/users/JonatanSalas/gists{/gist_id}","starred_url":"https://api.github.com/users/JonatanSalas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JonatanSalas/subscriptions","organizations_url":"https://api.github.com/users/JonatanSalas/orgs","repos_url":"https://api.github.com/users/JonatanSalas/repos","events_url":"https://api.github.com/users/JonatanSalas/events{/privacy}","received_events_url":"https://api.github.com/users/JonatanSalas/received_events","type":"User","site_admin":false},"created_at":"2016-07-22T14:48:29Z","updated_at":"2016-07-22T14:48:29Z","body":"Great work!!"}}
{"actor":{"display_login":"JonatanSalas"}}