Skip to content

Commit 187ad83

Browse files
committed
Add missing web case for packed header
1 parent e9a173b commit 187ad83

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

templates/web/src/services/template.ts.twig

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -184,6 +184,9 @@ export class {{ service.name | caseUcfirst }} extends Service {
184184
{% for key, header in method.headers %}
185185
'{{ key }}': '{{ header }}',
186186
{% endfor %}
187+
{% if method.type == 'graphql' %}
188+
'x-{{ spec.title }}-graphql-packed': 'true',
189+
{% endif %}
187190
}, payload);
188191
{% endif %}
189192
{% endif %}

0 commit comments

Comments
 (0)