Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
新潟WEBアプリケーション勉強会 Vol.1 LT GraphQL Federation
Search
Sponsored
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
ゆきか
July 21, 2022
Programming
150
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
新潟WEBアプリケーション勉強会 Vol.1 LT GraphQL Federation
ゆきか
July 21, 2022
More Decks by ゆきか
See All by ゆきか
新潟の鮨のはなし 飯テロver
yukikayuki
0
300
GitHub Actionsと GitHub CLIと permissions
yukikayuki
0
210
React Hooks勉強会 vol.5
yukikayuki
2
380
Other Decks in Programming
See All in Programming
属人化した知識を、 AIが辿れる地図にする
pkshadeck
PRO
1
170
Terraform標準の組織で AWS CDKをどう使うか
mu7889yoon
1
510
数百円から始めるRuby電子工作
tarosay
0
140
Apache Hive: そしてCloud Native Lakehouseへ
okumin
1
220
freee が目指す データ マネジメント戦略 AI-Ready 時代を支える 攻めのガバナンスとは
freee
PRO
0
350
20260722_microCMSで考える、AI時代のコンテンツ運用設計
yosh1
0
390
わからない話を追いかけたら、プログラミング言語を作る側にいた
ydah
3
490
琵琶湖の水は止められてもNet--HTTPのリトライは止められない / You might be able to stop the water flow of Lake Biwa but you can't stop Net::HTTP retries
luccafort
PRO
0
680
言葉の格闘技のススメ~紙とペンと言葉から始める、キャリアの描き方~
progresscicada
2
140
「人を評価する AI」の設計と実装
ryoyanara
0
190
Go言語とトイモデルで学ぶTransformerの気持ち / fukuokago23-transformer
monochromegane
0
170
VibeCodingからAgenticWorkflowへ
starfish719
0
430
Featured
See All Featured
JAMstack: Web Apps at Ludicrous Speed - All Things Open 2022
reverentgeek
1
560
How to audit for AI Accessibility on your Front & Back End
davetheseo
0
490
Public Speaking Without Barfing On Your Shoes - THAT 2023
reverentgeek
1
520
Visual Storytelling: How to be a Superhuman Communicator
reverentgeek
2
610
Building the Perfect Custom Keyboard
takai
2
840
The #1 spot is gone: here's how to win anyway
tamaranovitovic
3
1.1k
16th Malabo Montpellier Forum Presentation
akademiya2063
PRO
0
350
What the history of the web can teach us about the future of AI
inesmontani
PRO
1
650
Six Lessons from altMBA
skipperchong
29
4.4k
Designing for humans not robots
tammielis
254
26k
From π to Pie charts
rasagy
0
270
Into the Great Unknown - MozCon
thekraken
41
2.7k
Transcript
!@ZVLJLBZVLJ (SBQI2-'FEFSBUJPO ৽ׁ8&#ΞϓϦέʔγϣϯษڧձ7PM-5
ࣗݾհ w 5BLBZVLJ,BOFEB!@ZVLJLBZVLJ w גࣜձࣾ4QSPDLFU w ϑϩϯτΤϯυΤϯδχΞ w ࠷ۙ(PΛॻ͍͍ͯΔ
࣍ w (SBQI2-ͱ w ϚΠΫϩαʔϏεߏͰͷόοΫΤϯυ w (SBQI2-'FEFSBUJPO
(SBQI2-ͱ w ʹ'BDFCPPL ݱ.FUB ʹΑͬͯެ։͞Εͨ"1*͚ΫΤϦݴޠɺϥϯ λΠϜ w ճͷϦΫΤετͰඞཁͳϦιʔεΛऔಘ͢Δ͜ͱ͕Ͱ͖Δ w εΩʔϚϑΝʔετͰ։ൃՄೳ
4DIFNB 2VFSZ 3FTQPOTF query { posts { id title }
} { "data": { "posts": [ { "id": 1, "title": "title-1" }, { "id": 2, "title": "title-2" } ] } } 1045IUUQTFYBNQMFDPNHSBQIRM type Post { id: Int title: String content: String } type Query { post(id: Int): Post posts: [Post] } 4DIFNB 2VFSZ 3FTQPOTF
ϚΠΫϩαʔϏεߏͷόοΫΤϯυ w ϑϩϯτΤϯυͰ֤όοΫΤϯυΛୟ͘ w ϑϩϯτΤϯυͰ֤όοΫΤϯυΛೝ࣮ࣝͯ͠Λߦ͏ඞཁ͕͋Δ w ϑϩϯτΤϯυʹόοΫΤϯυ༻ͷಉ࣮͕͡૿͑Δ FHೝূͳͲ w
#''ΛڬΉ w όοΫΤϯυΛ࣮ͨ͠Β#''ʹରԠͨ͠ίʔυ͕ඞཁ
ΫϥΠΞϯτ͕֤όοΫΤϯυΛୟ͘ߏ #SPXTFS 6TFSTFSWJDF 1PTUTFSWJDF
#''ߏ #SPXTFS #'' 6TFSTFSWJDF 1PTUTFSWJDF
(SBQI2-'FEFSBUJPO "QPMMP'FEFSBUJPO w "QPMMP͕։ൃ͍ͯ͠Δɺෳͷ(SBQI2-"1*ΛΈ߹Θͤͨεʔύʔάϥϑ Λ࡞͢ΔͨΊͷɺڧྗͰΦʔϓϯͳΞʔΩςΫνϟ w ϚΠΫϩαʔϏεͷ(SBQI2-ͷTDIFNBΛΈ߹ΘͤͨεʔύʔάϥϑΛ࡞ ͢Δ͜ͱͰɺͭͷ(BUFXBZͷΤϯυϙΠϯτ͔Βશͯͷ(SBQI2-ͷϦι ʔεΞΫηεͰ͖Δ w
ࠓॳՆʹWʹͳͬͨ
(SBQI2-'FEFSBUJPOߏ #SPXTFS 4VQFSHSBQI HBUFXBZ 6TFSTVCHSBQI 1PTUTVCHSBQI
4VQFSHSBQI4DIFNBͷ࡞ type User @key(fields: "id") { id: Int! name: String!
} type Query { user(id: Int): User users: [User] } type Post { id: Int title: String content: String user: User } type User @key(fields: "id") { id: Int! } type Query { post(id: Int): Post posts: [Post] } type Post @join__type(graph: USERS) { id: Int title: String content: String user: User } type Query @join__type(graph: POSTS) @join__type(graph: USERS) { user(id: Int): User @join__field(graph: POSTS) users: [User] @join__field(graph: POSTS) post(id: Int): Post @join__field(graph: USERS) posts: [Post] @join__field(graph: USERS) } type User @join__type(graph: POSTS, key: "id") @join__type(graph: USERS, key: "id") { id: Int! name: String! @join__field(graph: POSTS) } 4VQFSHSBQI4DIFNB 6TFS4DIFNB 1PTU4DIFNB 3PWFS$-*
2VFSZ 3FTQPOTF query { posts { title user { name
} } } { "data": { "posts": [ { "title": "title-1", "user": { "name": "taro" } }, { "title": "title-2", "user": { "name": "jiro" } } ] } } 1045IUUQTFYBNQMFDPNHSBQIRM 2VFSZ 3FTQPOTF
(SBQI2-'FEFSBUJPOͷϝϦοτ w ෳ(SBQI2-αʔϏε͕͋ͬͯճͷϦΫΤετͰϦιʔεΛऔಘͰ͖Δ w 3&45ʹର͢ΔڧྗͳརΛγϯϓϧͳܗͰҡ࣋Ͱ͖Δ w (SBQI2-αʔϏεͷ࣮ʹूதͰ͖Δ w ΫϥΠΞϯτɾ#''Λҙࣝ͠ͳͯ͘ྑ͍ w
ෳνʔϜ͕νʔϜݸผͷόοΫΤϯυ։ൃʹϑΥʔΧεͰ͖Δ
ಋೖ࣌ͷϙΠϯτ ͩͱߟ͍͑ͯΔͱ͜Ζ w TVQFSHSBQIHBUFXBZ͕ࢀর͢ΔTDIFNBࣗମͷཧ w ৗʹTVQFSHSBQITDIFNBΛߏՄೳ͔Λݕࠪ͠ଓ͚Δඞཁ͕͋Δ w ΑΓεΩʔϚϑΝʔετͳ։ൃͷྲྀΕʹ w TVCHSBQIσϓϩΠޙʹTVQFSHSBQIHBUFXBZ͕ࢀর͢ΔTDIFNBͷߋ৽
w HBUFXBZ(SBQI2-ΫΤϦΛཧղ͢Δݡ͍ࢠͳͷͰɺσϓϩΠʹΑͬͯ TVCHSBQIͰར༻Մೳͳঢ়ଶʹͳͬͯɺHBUFXBZ͕ࢀর͢ΔTDIFNB͕ TVCHSBQIͰར༻Մೳʹͳ߲ͬͨΛө͍ͯ͠ͳ͍߹ɺΫϥΠΞϯτ͔Β ༻Ͱ͖ͳ͍
8FBSFIJSJOH 4FBSDIGPS<4QSPDLFU'PSLXFMM>POHPPHMF