{"action":"created","issue":{"url":"https://api.github.com/repos/strapi/strapi/issues/1556","repository_url":"https://api.github.com/repos/strapi/strapi","labels_url":"https://api.github.com/repos/strapi/strapi/issues/1556/labels{/name}","comments_url":"https://api.github.com/repos/strapi/strapi/issues/1556/comments","events_url":"https://api.github.com/repos/strapi/strapi/issues/1556/events","html_url":"https://github.com/strapi/strapi/issues/1556","id":340321407,"node_id":"MDU6SXNzdWUzNDAzMjE0MDc=","number":1556,"title":"Unable to send True/False boolean value in POST Request on MySQL","user":{"login":"derrickmehaffy","id":8593673,"node_id":"MDQ6VXNlcjg1OTM2NzM=","avatar_url":"https://avatars0.githubusercontent.com/u/8593673?v=4","gravatar_id":"","url":"https://api.github.com/users/derrickmehaffy","html_url":"https://github.com/derrickmehaffy","followers_url":"https://api.github.com/users/derrickmehaffy/followers","following_url":"https://api.github.com/users/derrickmehaffy/following{/other_user}","gists_url":"https://api.github.com/users/derrickmehaffy/gists{/gist_id}","starred_url":"https://api.github.com/users/derrickmehaffy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/derrickmehaffy/subscriptions","organizations_url":"https://api.github.com/users/derrickmehaffy/orgs","repos_url":"https://api.github.com/users/derrickmehaffy/repos","events_url":"https://api.github.com/users/derrickmehaffy/events{/privacy}","received_events_url":"https://api.github.com/users/derrickmehaffy/received_events","type":"User","site_admin":false},"labels":[{"id":749108959,"node_id":"MDU6TGFiZWw3NDkxMDg5NTk=","url":"https://api.github.com/repos/strapi/strapi/labels/priority:%20medium","name":"priority: medium","color":"fbc307","default":false},{"id":842587014,"node_id":"MDU6TGFiZWw4NDI1ODcwMTQ=","url":"https://api.github.com/repos/strapi/strapi/labels/status:%20can't%20reproduce","name":"status: can't reproduce","color":"dda035","default":false},{"id":267208743,"node_id":"MDU6TGFiZWwyNjcyMDg3NDM=","url":"https://api.github.com/repos/strapi/strapi/labels/type:%20bug%20%F0%9F%90%9B","name":"type: bug 🐛","color":"fc2929","default":false}],"state":"open","locked":false,"assignee":{"login":"lauriejim","id":5716596,"node_id":"MDQ6VXNlcjU3MTY1OTY=","avatar_url":"https://avatars3.githubusercontent.com/u/5716596?v=4","gravatar_id":"","url":"https://api.github.com/users/lauriejim","html_url":"https://github.com/lauriejim","followers_url":"https://api.github.com/users/lauriejim/followers","following_url":"https://api.github.com/users/lauriejim/following{/other_user}","gists_url":"https://api.github.com/users/lauriejim/gists{/gist_id}","starred_url":"https://api.github.com/users/lauriejim/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lauriejim/subscriptions","organizations_url":"https://api.github.com/users/lauriejim/orgs","repos_url":"https://api.github.com/users/lauriejim/repos","events_url":"https://api.github.com/users/lauriejim/events{/privacy}","received_events_url":"https://api.github.com/users/lauriejim/received_events","type":"User","site_admin":false},"assignees":[{"login":"lauriejim","id":5716596,"node_id":"MDQ6VXNlcjU3MTY1OTY=","avatar_url":"https://avatars3.githubusercontent.com/u/5716596?v=4","gravatar_id":"","url":"https://api.github.com/users/lauriejim","html_url":"https://github.com/lauriejim","followers_url":"https://api.github.com/users/lauriejim/followers","following_url":"https://api.github.com/users/lauriejim/following{/other_user}","gists_url":"https://api.github.com/users/lauriejim/gists{/gist_id}","starred_url":"https://api.github.com/users/lauriejim/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lauriejim/subscriptions","organizations_url":"https://api.github.com/users/lauriejim/orgs","repos_url":"https://api.github.com/users/lauriejim/repos","events_url":"https://api.github.com/users/lauriejim/events{/privacy}","received_events_url":"https://api.github.com/users/lauriejim/received_events","type":"User","site_admin":false}],"milestone":null,"comments":5,"created_at":"2018-07-11T16:41:44Z","updated_at":"2018-07-15T18:30:25Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"<!-- ⚠️ If you do not respect this template your issue will be closed. -->\r\n\r\n<!-- ⚠️ Before writing your issue make sure you are using:-->\r\n<!-- Node 9.x.x -->\r\n<!-- npm 5.x.x -->\r\n<!-- The latest version of Strapi. -->\r\n\r\n**Informations**\r\n- **Node.js version**: v10.6.0\r\n- **npm version**: 6.1.0\r\n- **Strapi version**: 3.0.0-alpha.12.7.1\r\n- **Database**: 10.2.16-MariaDB\r\n- **Operating system**: Linux Mint 19 (Ubuntu 18.04)\r\n\r\n\r\n**What is the current behavior?**\r\n\r\nUnable to send a POST request on a boolean field using `True` or `False`, I have to send `1` or `0`\r\n\r\n**Steps to reproduce the problem**\r\n\r\nUsing Mysql create a model with a boolean field and attempt to send a POST request in Postman using True or False. \r\n\r\nMake sure you have debugging turned on in `database.json`\r\n\r\n**What is the expected behavior?**\r\n\r\nyou should be able to send True or False in a post request and strapi should handle the conversion in bookshelf/knex\r\n\r\n**Suggested solutions**\r\n\r\nIt seems this error that was previously fixed has regressed again, related issue and previous PR:\r\n\r\nIssue: https://github.com/strapi/strapi/issues/1203\r\nPR: https://github.com/strapi/strapi/pull/1299\r\n\r\n@lauriejim \r\n\r\n\r\n<!-- ⚠️ Make sure to browse the opened and closed issues before submitting your issue. -->\r\n"},"comment":{"url":"https://api.github.com/repos/strapi/strapi/issues/comments/405109129","html_url":"https://github.com/strapi/strapi/issues/1556#issuecomment-405109129","issue_url":"https://api.github.com/repos/strapi/strapi/issues/1556","id":405109129,"node_id":"MDEyOklzc3VlQ29tbWVudDQwNTEwOTEyOQ==","user":{"login":"derrickmehaffy","id":8593673,"node_id":"MDQ6VXNlcjg1OTM2NzM=","avatar_url":"https://avatars0.githubusercontent.com/u/8593673?v=4","gravatar_id":"","url":"https://api.github.com/users/derrickmehaffy","html_url":"https://github.com/derrickmehaffy","followers_url":"https://api.github.com/users/derrickmehaffy/followers","following_url":"https://api.github.com/users/derrickmehaffy/following{/other_user}","gists_url":"https://api.github.com/users/derrickmehaffy/gists{/gist_id}","starred_url":"https://api.github.com/users/derrickmehaffy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/derrickmehaffy/subscriptions","organizations_url":"https://api.github.com/users/derrickmehaffy/orgs","repos_url":"https://api.github.com/users/derrickmehaffy/repos","events_url":"https://api.github.com/users/derrickmehaffy/events{/privacy}","received_events_url":"https://api.github.com/users/derrickmehaffy/received_events","type":"User","site_admin":false},"created_at":"2018-07-15T18:30:25Z","updated_at":"2018-07-15T18:30:25Z","author_association":"CONTRIBUTOR","body":"The same error happened"}}
{"actor":{"display_login":"derrickmehaffy"}}