Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | ||||||
2 | 3 | 4 | 5 | 6 | 7 | 8 |
9 | 10 | 11 | 12 | 13 | 14 | 15 |
16 | 17 | 18 | 19 | 20 | 21 | 22 |
23 | 24 | 25 | 26 | 27 | 28 |
Tags
- 스프링부트
- graphql
- puppeteer
- MapReduce
- mysql
- 프로그래머스
- 조건문
- nodejs
- java11
- Docker
- LangChain
- TCP
- redis
- Spring
- restapi
- Apollo
- mongodb
- java
- 스프링
- 백준알고리즘
- ai
- Mongoose
- HTTP
- Scanner
- Android
- 서버
- k8s
- bufferdreader
- 자바
- eof
Archives
- Today
- Total
목록@extends (1)
자라나라 개발머리
[GraphQL/Apollo Server] directives 파헤치기 - Apollo Federation Directives(1) @key, @extends
오늘은~ Apollo Server의 directives를 알아본 것에 이어서, Apollo Federation의 directives에 대해 알아보려 합니다. Apollo Federation에서 directives의 역할Apollo Federation은 Micro Service Architecture에서 여러 개의 subgraphql을 하나의 graphql로 통합해주는 강력한 기능입니다.사용자는 하나의 endpoint만 알면 여러 서버에 있는 쿼리, 뮤테이션 등의 operation을 모두 사용할 수 있는거죠. 여기서 directives는 여러개의 스키마가 합쳐질 때 일어날 수 있는 상황들을 제어하기 위해 쓰입니다.예를 들어, 다른 서브그래프에서 쓰는 필드를 같이 쓰고 싶을 때 지시어를 추가해서 이건 다른 ..
GraphQL
2024. 6. 10. 00:09