{"action":"created","issue":{"url":"https://api.github.com/repos/MasoniteFramework/core/issues/334","repository_url":"https://api.github.com/repos/MasoniteFramework/core","labels_url":"https://api.github.com/repos/MasoniteFramework/core/issues/334/labels{/name}","comments_url":"https://api.github.com/repos/MasoniteFramework/core/issues/334/comments","events_url":"https://api.github.com/repos/MasoniteFramework/core/issues/334/events","html_url":"https://github.com/MasoniteFramework/core/pull/334","id":360144041,"node_id":"MDExOlB1bGxSZXF1ZXN0MjE1NDcyMDIx","number":334,"title":"added base support for using full routes","user":{"login":"josephmancuso","id":20172538,"node_id":"MDQ6VXNlcjIwMTcyNTM4","avatar_url":"https://avatars1.githubusercontent.com/u/20172538?v=4","gravatar_id":"","url":"https://api.github.com/users/josephmancuso","html_url":"https://github.com/josephmancuso","followers_url":"https://api.github.com/users/josephmancuso/followers","following_url":"https://api.github.com/users/josephmancuso/following{/other_user}","gists_url":"https://api.github.com/users/josephmancuso/gists{/gist_id}","starred_url":"https://api.github.com/users/josephmancuso/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/josephmancuso/subscriptions","organizations_url":"https://api.github.com/users/josephmancuso/orgs","repos_url":"https://api.github.com/users/josephmancuso/repos","events_url":"https://api.github.com/users/josephmancuso/events{/privacy}","received_events_url":"https://api.github.com/users/josephmancuso/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-09-14T03:30:14Z","updated_at":"2018-09-14T03:33:52Z","closed_at":null,"author_association":"MEMBER","pull_request":{"url":"https://api.github.com/repos/MasoniteFramework/core/pulls/334","html_url":"https://github.com/MasoniteFramework/core/pull/334","diff_url":"https://github.com/MasoniteFramework/core/pull/334.diff","patch_url":"https://github.com/MasoniteFramework/core/pull/334.patch"},"body":"This adds support for adding \"full\" urls using the route method on the request class.\r\n\r\nA code example would be this:\r\n\r\n```python\r\ndef show(self, request: Request):\r\n    request.route('dashboard.user') # /dashboard/user\r\n    request.route('dashboard.user', full=True) # http://localhost:8000/dashboard/user\r\n    request.route('dashboard.user', {'id': 1}) # /dashboard/user/1\r\n    request.route('dashboard.user', {'id': 1}, full=True) # http://localhost:8000/dashboard/user/1\r\n    request.route('dashboard.user', {'id': 1}, True) # http://localhost:8000/dashboard/user/1\r\n\r\n```"},"comment":{"url":"https://api.github.com/repos/MasoniteFramework/core/issues/comments/421220610","html_url":"https://github.com/MasoniteFramework/core/pull/334#issuecomment-421220610","issue_url":"https://api.github.com/repos/MasoniteFramework/core/issues/334","id":421220610,"node_id":"MDEyOklzc3VlQ29tbWVudDQyMTIyMDYxMA==","user":{"login":"josephmancuso","id":20172538,"node_id":"MDQ6VXNlcjIwMTcyNTM4","avatar_url":"https://avatars1.githubusercontent.com/u/20172538?v=4","gravatar_id":"","url":"https://api.github.com/users/josephmancuso","html_url":"https://github.com/josephmancuso","followers_url":"https://api.github.com/users/josephmancuso/followers","following_url":"https://api.github.com/users/josephmancuso/following{/other_user}","gists_url":"https://api.github.com/users/josephmancuso/gists{/gist_id}","starred_url":"https://api.github.com/users/josephmancuso/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/josephmancuso/subscriptions","organizations_url":"https://api.github.com/users/josephmancuso/orgs","repos_url":"https://api.github.com/users/josephmancuso/repos","events_url":"https://api.github.com/users/josephmancuso/events{/privacy}","received_events_url":"https://api.github.com/users/josephmancuso/received_events","type":"User","site_admin":false},"created_at":"2018-09-14T03:33:52Z","updated_at":"2018-09-14T03:33:52Z","author_association":"MEMBER","body":"@nioperas06 ☝️ "}}
{"actor":{"display_login":"josephmancuso"}}