Skip to content

Commit 8ff1a47

Browse files
committed
Support Relay Modern graphql.experimental tag (#74)
1 parent 77a127b commit 8ff1a47

File tree

3 files changed

+9
-2
lines changed

3 files changed

+9
-2
lines changed

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
## 1.5.3 (2017-06-13)
2+
3+
Features:
4+
5+
- Support Relay Modern graphql.experimental tag (#74)
6+
17
## 1.5.2 (2017-03-16)
28

39
Fixes:

resources/META-INF/plugin.xml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
<idea-plugin version="2">
1111
<id>com.intellij.lang.jsgraphql</id>
1212
<name>JS GraphQL</name>
13-
<version>1.5.2</version>
13+
<version>1.5.3</version>
1414
<vendor>Jim Kynde Meyer - [email protected]</vendor>
1515

1616
<description><![CDATA[
@@ -29,6 +29,7 @@
2929

3030
<change-notes><![CDATA[
3131
<ul>
32+
<li>1.5.3: Support Relay Modern graphql.experimental tag.</li>
3233
<li>1.5.2: Pass "variables" in payload to GraphQL server as JSON.</li>
3334
<li>1.5.1: Compatible with IntelliJ IDEA 2017.1 EAP tagged template expressions.</li>
3435
<li>1.5.0: Language Service 1.4.0 based on graphql 0.9.1 and codemirror-graphql 0.6.2. Experimental support for GraphQL Endpoint Language (.graphqle)</li>

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ public static String getEnvironmentFromTemplateTag(String tagText, PsiElement ho
107107
if (RELAY_QL_TEMPLATE_TAG.equals(tagText)) {
108108
return RELAY_ENVIRONMENT;
109109
}
110-
if (GRAPHQL_TEMPLATE_TAG.equals(tagText)) {
110+
if (GRAPHQL_TEMPLATE_TAG.equals(tagText) || GRAPHQL_EXPERIMENTAL_TEMPLATE_TAG.equals(tagText)) {
111111
return GRAPHQL_ENVIRONMENT;
112112
}
113113
if (GQL_TEMPLATE_TAG.equals(tagText)) {

0 commit comments

Comments
 (0)