-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.meshrc.yml
29 lines (29 loc) · 895 Bytes
/
.meshrc.yml
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
29
sources:
- name: graphcms
handler:
graphql:
useGETForQueries: true
endpoint: ${GRAPHCMS_URL}
retry: 3
operationHeaders:
gcms-locales: "{context.headers['gcms-locales']}"
transforms:
- filterSchema:
filters:
- 'Query.*.!locales'
- name: m2
handler:
graphql:
endpoint: ${MAGENTO_ENDPOINT}
useGETForQueries: true
schemaHeaders:
Store: '{context.headers.store}'
Authorization: '{context.headers.authorization}'
operationHeaders:
Store: '{context.headers.store}'
Authorization: '{context.headers.authorization}'
X-ReCaptcha: "{context.headers['x-recaptcha']}"
Preview-Version: "{context.headers['preview-version']}"
Content-Currency: "{context.headers['content-currency']}"
serve:
playground: true