Skip to content

Commit 1a193a9

Browse files
authored
Support Relay Modern graphql.experimental tag
https://facebook.github.io/relay/docs/refetch-container.html Without this patch, my refetch container back to plain text.
1 parent 253659a commit 1a193a9

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/main/com/intellij/lang/jsgraphql/ide/injection/JSGraphQLLanguageInjectionUtil.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,11 +28,13 @@ public class JSGraphQLLanguageInjectionUtil {
2828

2929
public static final String RELAY_QL_TEMPLATE_TAG = "Relay.QL";
3030
public static final String GRAPHQL_TEMPLATE_TAG = "graphql";
31+
public static final String GRAPHQL_EXPERIMENTAL_TEMPLATE_TAG = "graphql.experimental";
3132
public static final String GQL_TEMPLATE_TAG = "gql";
3233

3334
public final static Set<String> SUPPORTED_TAG_NAMES = Sets.newHashSet(
3435
RELAY_QL_TEMPLATE_TAG,
3536
GRAPHQL_TEMPLATE_TAG,
37+
GRAPHQL_EXPERIMENTAL_TEMPLATE_TAG,
3638
GQL_TEMPLATE_TAG
3739
);
3840

0 commit comments

Comments
 (0)