{"type":"rich","url":"https://blog.shibayu36.org/entry/2019/10/28/193000","published":"2019-10-28 19:30:00","height":"190","categories":["tech"],"blog_title":"$shibayu36->blog;","version":"1.0","description":"TypeScript + Apollo Client\u3067\u3001useQuery\u306a\u3069\u3092\u7528\u3044\u3066GraphQL\u306e\u30af\u30a8\u30ea\u3092\u767a\u884c\u3059\u308b\u969b\u306b\u3001\u30af\u30a8\u30ea\u306evariables\u3084\u30ec\u30b9\u30dd\u30f3\u30b9\u306e\u30c7\u30fc\u30bf\u306b\u578b\u3092\u4ed8\u3051\u305f\u3044\u3002\u3084\u308a\u65b9\u304c\u5c11\u3005\u5206\u304b\u308a\u3065\u3089\u304b\u3063\u305f\u306e\u3067\u30e1\u30e2\u3092\u6b8b\u3059\u3002 \u578b\u3092\u3064\u3051\u308b\u305f\u3081\u306b\u3084\u308b\u3053\u3068\u306f\u4ee5\u4e0b\u306e\u901a\u308a\u3002 apollo.config.js\u3092\u5b9a\u7fa9\u3059\u308b graphql-tag\u3067GraphQL\u306e\u30af\u30a8\u30ea\u3092\u66f8\u304f apollo client:codegen\u3067\u578b\u60c5\u5831\u3092\u751f\u6210\u3059\u308b \u30af\u30a8\u30ea\u3092\u66f8\u3044\u305f\u5834\u6240\u3067\u578b\u3092import\u3057\u3001useQuery\u306e\u578b\u30d1\u30e9\u30e1\u30fc\u30bf\u306b\u6307\u5b9a\u3059\u308b shibayu36/go-Intern-Diary\u306e\u30ec\u30dd\u30b8\u30c8\u30ea\u3067\u8a66\u3057\u3066\u3044\u308b\u3002 apoll\u2026","provider_name":"Hatena Blog","image_url":null,"title":"TypeScript + Apollo Client\u3067GraphQL\u306e\u30c7\u30fc\u30bf\u306b\u578b\u3092\u4ed8\u3051\u308b","provider_url":"https://hatena.blog","width":"100%","author_name":"shiba_yu36","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fblog.shibayu36.org%2Fentry%2F2019%2F10%2F28%2F193000\" title=\"TypeScript + Apollo Client\u3067GraphQL\u306e\u30c7\u30fc\u30bf\u306b\u578b\u3092\u4ed8\u3051\u308b - $shibayu36-&gt;blog;\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","blog_url":"https://blog.shibayu36.org/","author_url":"https://blog.hatena.ne.jp/shiba_yu36/"}