{"action":"created","issue":{"url":"https://api.github.com/repos/MongoEngine/flask-mongoengine/issues/216","repository_url":"https://api.github.com/repos/MongoEngine/flask-mongoengine","labels_url":"https://api.github.com/repos/MongoEngine/flask-mongoengine/issues/216/labels{/name}","comments_url":"https://api.github.com/repos/MongoEngine/flask-mongoengine/issues/216/comments","events_url":"https://api.github.com/repos/MongoEngine/flask-mongoengine/issues/216/events","html_url":"https://github.com/MongoEngine/flask-mongoengine/pull/216","id":138462312,"number":216,"title":"Add max_length feature to StringField-like fields","user":{"login":"lafrech","id":1767010,"avatar_url":"https://avatars.githubusercontent.com/u/1767010?v=3","gravatar_id":"","url":"https://api.github.com/users/lafrech","html_url":"https://github.com/lafrech","followers_url":"https://api.github.com/users/lafrech/followers","following_url":"https://api.github.com/users/lafrech/following{/other_user}","gists_url":"https://api.github.com/users/lafrech/gists{/gist_id}","starred_url":"https://api.github.com/users/lafrech/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lafrech/subscriptions","organizations_url":"https://api.github.com/users/lafrech/orgs","repos_url":"https://api.github.com/users/lafrech/repos","events_url":"https://api.github.com/users/lafrech/events{/privacy}","received_events_url":"https://api.github.com/users/lafrech/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/MongoEngine/flask-mongoengine/milestones/6","html_url":"https://github.com/MongoEngine/flask-mongoengine/milestones/0.9","labels_url":"https://api.github.com/repos/MongoEngine/flask-mongoengine/milestones/6/labels","id":1633716,"number":6,"title":"0.9","description":"","creator":{"login":"lafrech","id":1767010,"avatar_url":"https://avatars.githubusercontent.com/u/1767010?v=3","gravatar_id":"","url":"https://api.github.com/users/lafrech","html_url":"https://github.com/lafrech","followers_url":"https://api.github.com/users/lafrech/followers","following_url":"https://api.github.com/users/lafrech/following{/other_user}","gists_url":"https://api.github.com/users/lafrech/gists{/gist_id}","starred_url":"https://api.github.com/users/lafrech/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lafrech/subscriptions","organizations_url":"https://api.github.com/users/lafrech/orgs","repos_url":"https://api.github.com/users/lafrech/repos","events_url":"https://api.github.com/users/lafrech/events{/privacy}","received_events_url":"https://api.github.com/users/lafrech/received_events","type":"User","site_admin":false},"open_issues":3,"closed_issues":0,"state":"open","created_at":"2016-03-09T14:04:02Z","updated_at":"2016-10-10T18:36:34Z","due_on":null,"closed_at":null},"comments":1,"created_at":"2016-03-04T12:24:30Z","updated_at":"2016-10-25T00:48:41Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/MongoEngine/flask-mongoengine/pulls/216","html_url":"https://github.com/MongoEngine/flask-mongoengine/pull/216","diff_url":"https://github.com/MongoEngine/flask-mongoengine/pull/216.diff","patch_url":"https://github.com/MongoEngine/flask-mongoengine/pull/216.patch"},"body":"What do you think about such a feature?\r\n\r\nThe idea is to pass max_length to the call to the field so that max_length appears in the input field in the HTML code.\r\n\r\nClient pre-validation is nice. I'd like to go even further with https://github.com/MongoEngine/flask-mongoengine/issues/214."},"comment":{"url":"https://api.github.com/repos/MongoEngine/flask-mongoengine/issues/comments/255906124","html_url":"https://github.com/MongoEngine/flask-mongoengine/pull/216#issuecomment-255906124","issue_url":"https://api.github.com/repos/MongoEngine/flask-mongoengine/issues/216","id":255906124,"user":{"login":"wojcikstefan","id":1718372,"avatar_url":"https://avatars.githubusercontent.com/u/1718372?v=3","gravatar_id":"","url":"https://api.github.com/users/wojcikstefan","html_url":"https://github.com/wojcikstefan","followers_url":"https://api.github.com/users/wojcikstefan/followers","following_url":"https://api.github.com/users/wojcikstefan/following{/other_user}","gists_url":"https://api.github.com/users/wojcikstefan/gists{/gist_id}","starred_url":"https://api.github.com/users/wojcikstefan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wojcikstefan/subscriptions","organizations_url":"https://api.github.com/users/wojcikstefan/orgs","repos_url":"https://api.github.com/users/wojcikstefan/repos","events_url":"https://api.github.com/users/wojcikstefan/events{/privacy}","received_events_url":"https://api.github.com/users/wojcikstefan/received_events","type":"User","site_admin":false},"created_at":"2016-10-25T00:48:41Z","updated_at":"2016-10-25T00:48:41Z","body":"IMHO, this looks much hackier than it should. There has to be a better way to do it."}}
{"actor":{"display_login":"wojcikstefan"}}