<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>atr0phy</author_name>
  <author_url>https://blog.hatena.ne.jp/atr0phy/</author_url>
  <blog_title>HackToTech</blog_title>
  <blog_url>https://www.hacktotech.net/</blog_url>
  <categories>
    <anon>validation</anon>
    <anon>kotlin</anon>
    <anon>spring-boot</anon>
  </categories>
  <description>tl;dr コンパイラオプションに -Xemit-jvm-type-annotationsを指定する必要がある あとの文章は個人的なメモ リストの要素にConstraintsをかけたかったが、 なんか一見正しく見えるのに正しく動かなかった package com.example.exampleboot3 import org.hibernate.validator.constraints.Length data class Request(val values: List&lt;@Length(min = 1) String&gt;) package com.example.exampleboot3 im…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fwww.hacktotech.net%2Fentry%2Fspring-boot-kotlin-constraints-for-list-element&quot; title=&quot;SpringBoot + KotlinでListの要素にConstraintsをかけたかった話 - HackToTech&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>https://cdn-ak.f.st-hatena.com/images/fotolife/a/atr0phy/20221211/20221211014802.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2023-10-29 04:00:00</published>
  <title>SpringBoot + KotlinでListの要素にConstraintsをかけたかった話</title>
  <type>rich</type>
  <url>https://www.hacktotech.net/entry/spring-boot-kotlin-constraints-for-list-element</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
