{"action":"closed","issue":{"url":"https://api.github.com/repos/akka/akka-grpc/issues/410","repository_url":"https://api.github.com/repos/akka/akka-grpc","labels_url":"https://api.github.com/repos/akka/akka-grpc/issues/410/labels{/name}","comments_url":"https://api.github.com/repos/akka/akka-grpc/issues/410/comments","events_url":"https://api.github.com/repos/akka/akka-grpc/issues/410/events","html_url":"https://github.com/akka/akka-grpc/issues/410","id":362208059,"node_id":"MDU6SXNzdWUzNjIyMDgwNTk=","number":410,"title":"Code generators should be enabled by scope","user":{"login":"ignasi35","id":762126,"node_id":"MDQ6VXNlcjc2MjEyNg==","avatar_url":"https://avatars2.githubusercontent.com/u/762126?v=4","gravatar_id":"","url":"https://api.github.com/users/ignasi35","html_url":"https://github.com/ignasi35","followers_url":"https://api.github.com/users/ignasi35/followers","following_url":"https://api.github.com/users/ignasi35/following{/other_user}","gists_url":"https://api.github.com/users/ignasi35/gists{/gist_id}","starred_url":"https://api.github.com/users/ignasi35/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ignasi35/subscriptions","organizations_url":"https://api.github.com/users/ignasi35/orgs","repos_url":"https://api.github.com/users/ignasi35/repos","events_url":"https://api.github.com/users/ignasi35/events{/privacy}","received_events_url":"https://api.github.com/users/ignasi35/received_events","type":"User","site_admin":false},"labels":[{"id":901523393,"node_id":"MDU6TGFiZWw5MDE1MjMzOTM=","url":"https://api.github.com/repos/akka/akka-grpc/labels/sbt","name":"sbt","color":"7570c9","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2018-09-20T14:13:22Z","updated_at":"2018-09-21T10:26:53Z","closed_at":"2018-09-21T10:26:52Z","author_association":"MEMBER","body":"When writing a gRPC server, a server code generator is required.\r\n\r\nWriting tests for such server requires a client but the generated client should not be live in  `/src_generated/main` but `/src_generated/test`.\r\n\r\nE.g.: instead of having to do \r\n\r\n```scala\r\n  .settings(\r\n    akkaGrpcGeneratedLanguages := Seq(AkkaGrpc.Scala),\r\n    akkaGrpcGeneratedSources := Seq(AkkaGrpc.Server, AkkaGrpc.Client)\r\n  ).settings(\r\n\r\n```\r\nsomething like the following should be supported:\r\n```scala\r\n  .settings(\r\n    akkaGrpcGeneratedLanguages := Seq(AkkaGrpc.Scala),\r\n    akkaGrpcGeneratedSources in Compile := Seq(AkkaGrpc.Server),\r\n    akkaGrpcGeneratedSources in Test := Seq(AkkaGrpc.Client)\r\n  ).settings(\r\n\r\n```"}}
{"actor":{"display_login":"ignasi35"}}