<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>funnelbit</author_name>
  <author_url>https://blog.hatena.ne.jp/funnelbit/</author_url>
  <blog_title>┗┐＜(՞ਊ՞)＞┌┛</blog_title>
  <blog_url>https://funnelbit.hatenablog.com/</blog_url>
  <categories>
  </categories>
  <description>github.com DDD の本を読んだりして、いろいろ class 化して表すのだ、という意識が出てきたり出てこなかったりして、Id となる文字列や数値を class 化しようと誰もが思うはず（要出典）。 その時に、良かれと思って value class を検討していくだろう。 @JvmInline value class MyId(val value: Long) 2025/02/01 現在は Dagger / Hilt でこれを inject しようとしてもできない。 例えば ViewModel に inject して、この MyId を UseCase や Repository に渡…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Ffunnelbit.hatenablog.com%2Fentry%2F2025%2F02%2F01%2F201519&quot; title=&quot;Dagger で @JvmInline value class は inject できません - ┗┐＜(՞ਊ՞)＞┌┛&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2025-02-01 20:15:19</published>
  <title>Dagger で @JvmInline value class は inject できません</title>
  <type>rich</type>
  <url>https://funnelbit.hatenablog.com/entry/2025/02/01/201519</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
