{"action":"created","issue":{"url":"https://api.github.com/repos/playframework/playframework/issues/8466","repository_url":"https://api.github.com/repos/playframework/playframework","labels_url":"https://api.github.com/repos/playframework/playframework/issues/8466/labels{/name}","comments_url":"https://api.github.com/repos/playframework/playframework/issues/8466/comments","events_url":"https://api.github.com/repos/playframework/playframework/issues/8466/events","html_url":"https://github.com/playframework/playframework/issues/8466","id":330996257,"node_id":"MDU6SXNzdWUzMzA5OTYyNTc=","number":8466,"title":" Allow to set the transaction isolation level","user":{"login":"AlexITC","id":4218436,"node_id":"MDQ6VXNlcjQyMTg0MzY=","avatar_url":"https://avatars3.githubusercontent.com/u/4218436?v=4","gravatar_id":"","url":"https://api.github.com/users/AlexITC","html_url":"https://github.com/AlexITC","followers_url":"https://api.github.com/users/AlexITC/followers","following_url":"https://api.github.com/users/AlexITC/following{/other_user}","gists_url":"https://api.github.com/users/AlexITC/gists{/gist_id}","starred_url":"https://api.github.com/users/AlexITC/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AlexITC/subscriptions","organizations_url":"https://api.github.com/users/AlexITC/orgs","repos_url":"https://api.github.com/users/AlexITC/repos","events_url":"https://api.github.com/users/AlexITC/events{/privacy}","received_events_url":"https://api.github.com/users/AlexITC/received_events","type":"User","site_admin":false},"labels":[{"id":33226934,"node_id":"MDU6TGFiZWwzMzIyNjkzNA==","url":"https://api.github.com/repos/playframework/playframework/labels/enhancement","name":"enhancement","color":"0e8a16","default":true},{"id":867043771,"node_id":"MDU6TGFiZWw4NjcwNDM3NzE=","url":"https://api.github.com/repos/playframework/playframework/labels/type:breaks-compatibility","name":"type:breaks-compatibility","color":"d93f0b","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-06-10T19:38:00Z","updated_at":"2018-06-11T14:41:07Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"At the moment, there is no way to specify the transaction isolation level for a single transaction, it would be great to have a syntax like this:\r\n ```scala\r\ndatabase.withTransaction(TransactionIsolationLevel.Serializable) { implicit conn => ... }\r\n```\r\n\r\nThe code changes to support that are trivial, would you accept a pull request?"},"comment":{"url":"https://api.github.com/repos/playframework/playframework/issues/comments/396267712","html_url":"https://github.com/playframework/playframework/issues/8466#issuecomment-396267712","issue_url":"https://api.github.com/repos/playframework/playframework/issues/8466","id":396267712,"node_id":"MDEyOklzc3VlQ29tbWVudDM5NjI2NzcxMg==","user":{"login":"AlexITC","id":4218436,"node_id":"MDQ6VXNlcjQyMTg0MzY=","avatar_url":"https://avatars3.githubusercontent.com/u/4218436?v=4","gravatar_id":"","url":"https://api.github.com/users/AlexITC","html_url":"https://github.com/AlexITC","followers_url":"https://api.github.com/users/AlexITC/followers","following_url":"https://api.github.com/users/AlexITC/following{/other_user}","gists_url":"https://api.github.com/users/AlexITC/gists{/gist_id}","starred_url":"https://api.github.com/users/AlexITC/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AlexITC/subscriptions","organizations_url":"https://api.github.com/users/AlexITC/orgs","repos_url":"https://api.github.com/users/AlexITC/repos","events_url":"https://api.github.com/users/AlexITC/events{/privacy}","received_events_url":"https://api.github.com/users/AlexITC/received_events","type":"User","site_admin":false},"created_at":"2018-06-11T14:41:07Z","updated_at":"2018-06-11T14:41:07Z","author_association":"CONTRIBUTOR","body":"I don't think it would be a breaking change, we could keep the current `withTransaction` method and add another one that supports the transaction isolation level."}}
{"actor":{"display_login":"AlexITC"}}