<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>fits</author_name>
  <author_url>https://blog.hatena.ne.jp/fits/</author_url>
  <blog_title>なんとなくな Developer のメモ</blog_title>
  <blog_url>https://fits.hatenablog.com/</blog_url>
  <categories>
    <anon>Go</anon>
    <anon>GraphQL</anon>
  </categories>
  <description>前回の graph-gophers/graphql-go を使って、GraphQL の Interface を扱ってみます。 ソースは http://github.com/fits/try_samples/tree/master/blog/20210125/ はじめに GraphQL には Interface と Union という類似の機能が用意されており、共通のフィールドを設けるかどうかによって使い分けるようになっています。 graph-gophers/graphql-go では、具体的な型（Interface の実装型や Union の要素型）への変換メソッドを用意する事で Interf…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Ffits.hatenablog.com%2Fentry%2F2021%2F01%2F25%2F011726&quot; title=&quot; Go言語で GraphQL - graph-gophers/graphql-go で Interface を試す - なんとなくな Developer のメモ&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>2021-01-25 01:17:26</published>
  <title> Go言語で GraphQL - graph-gophers/graphql-go で Interface を試す</title>
  <type>rich</type>
  <url>https://fits.hatenablog.com/entry/2021/01/25/011726</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
