{"id":15289075,"url":"https://github.com/mateuszkubuszok/explain-given","last_synced_at":"2026-02-08T15:32:34.312Z","repository":{"id":255006734,"uuid":"848242354","full_name":"MateuszKubuszok/explain-given","owner":"MateuszKubuszok","description":"Preview how your implicits/givens got resolved on Scala 3","archived":false,"fork":false,"pushed_at":"2024-08-27T12:58:04.000Z","size":2043,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-05-07T04:46:05.293Z","etag":null,"topics":["debugging","given","implicit","scala","scala-3"],"latest_commit_sha":null,"homepage":"","language":"Scala","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/MateuszKubuszok.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-08-27T12:01:45.000Z","updated_at":"2024-10-08T08:04:28.000Z","dependencies_parsed_at":"2024-09-03T12:15:17.628Z","dependency_job_id":null,"html_url":"https://github.com/MateuszKubuszok/explain-given","commit_stats":null,"previous_names":["mateuszkubuszok/explain-given"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MateuszKubuszok%2Fexplain-given","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MateuszKubuszok%2Fexplain-given/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MateuszKubuszok%2Fexplain-given/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MateuszKubuszok%2Fexplain-given/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/MateuszKubuszok","download_url":"https://codeload.github.com/MateuszKubuszok/explain-given/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252816520,"owners_count":21808702,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["debugging","given","implicit","scala","scala-3"],"created_at":"2024-09-30T15:59:13.568Z","updated_at":"2026-02-08T15:32:34.254Z","avatar_url":"https://github.com/MateuszKubuszok.png","language":"Scala","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Explain given\n\nPrints the `given` that was resolved in a method which expects `using`.\n\n```scala\n//\u003e using scala 3.3.3\n//\u003e using dep com.kubuszok::explain-given:0.1.0\n//\u003e using dep io.circe::circe-generic::0.14.9\n\ncase class Foo(a: Int, b: String)\ncase class Bar(list: List[Foo])\n\nimport com.kubuszok.explain_given.ExplainGiven\nimport io.circe.*, io.circe.generic.auto.*, io.circe.syntax.*\n\n// both compile time hint as well as runtime println\nBar(List(Foo(10, \"test\"))).asJson(ExplainGiven.apply)\n// compile time hint only\nBar(List(Foo(10, \"test\"))).asJson(ExplainGiven.withHint)\n// println only (runtime)\nBar(List(Foo(10, \"test\"))).asJson(ExplainGiven.withPrintln)\n```\n\n![screenshot](/screenshot.png)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmateuszkubuszok%2Fexplain-given","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmateuszkubuszok%2Fexplain-given","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmateuszkubuszok%2Fexplain-given/lists"}