-
Notifications
You must be signed in to change notification settings - Fork 23
Add support for Apollo Connectors Mapping Syntax #230
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
d0098ce
2637e5c
1ae4203
5e7f3dd
839a650
53c4a31
e4c6c87
60814f7
c30aaf4
bda40e6
d0d2c77
ab78a30
e20832b
b1ff896
0ea12de
5b85408
51c573d
39c29d2
2a72811
8711cf3
7c1fd89
1483930
073162f
4deca72
810cf1a
5c2ea2f
07b9f61
f433e14
304b70c
5738e9a
c84606b
4280f23
9c2ede1
ca52e1f
37f9377
8ccd383
dffbbfa
c7acd53
3783595
3cd4eb8
8daa803
60f0723
3e7cf90
80f7d48
da2d8ed
dc6b7bb
053d752
58e3179
2f5c129
20b07fc
c7e131e
1cab50a
7ef7363
2a234cd
79543bf
0715cf0
6a41e1c
ad0d4e1
5735652
9377d31
dcfeeab
add545a
56eda2d
52c4604
1045a89
0bfd99f
9dfe949
d5b2b05
91fc53b
a52c6b4
4c2fb07
cd985b5
f6dd085
3db4ab8
97b5cac
f24e9a5
b31cdc5
4bc1050
59a455f
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
"vscode-apollo": minor | ||
--- | ||
|
||
Add syntax highlighting for the Apollo Connectors Mapping language |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,6 @@ | ||
src/language-server/graphqlTypes.ts | ||
src/language-server/__tests__/fixtures/documents/commentWithTemplate.ts | ||
schemas/*.json | ||
syntaxes/*.json | ||
src/__tests__/fixtures/textmate/* | ||
README.md |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
sampleWorkspace/connectors-community/** | ||
syntaxes/build.ts |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
{ | ||
"comments": { | ||
"lineComment": "#" | ||
}, | ||
"brackets": [ | ||
["[", "]"], | ||
["{", "}"], | ||
["(", ")"] | ||
] | ||
} |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
--- | ||
name: Connector Bug Report | ||
about: Create a report to help us fix a connector issue | ||
title: "[Connector Name] - Bug Title" | ||
labels: bug | ||
assignees: michael-watson | ||
|
||
--- | ||
|
||
**Connector**: | ||
**Connector Module**: *if any* | ||
|
||
**Describe the bug** | ||
A clear and concise description of what the bug is. | ||
|
||
**To Reproduce** | ||
Steps to reproduce the behavior: | ||
1. Start [Connector Name] name | ||
2. Execute this operation: | ||
|
||
```graphql | ||
query { | ||
|
||
} | ||
``` | ||
|
||
3. Results: | ||
|
||
**Expected behavior** | ||
A clear and concise description of what you expected to happen. | ||
|
||
**Screenshots** | ||
If applicable, add screenshots to help explain your problem. | ||
|
||
**Additional context or recommended fixes** | ||
Add any other context about the problem here. |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
--- | ||
name: New Connector | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Is this intentionally a full clone of that repo? Should we trim out some bits like this one? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Yes, it's a subtree as that's the easiest way to keep those in sync.
There are ways of syncing with subfolders of subtrees, but honestly that didn't seem to be worth the added complexity. |
||
about: To create a new connector that is available in the connectors-community | ||
title: "{NAME} Connector" | ||
labels: new | ||
assignees: '' | ||
|
||
--- | ||
|
||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
{ | ||
"$schema": "https://docs.renovatebot.com/renovate-schema.json" | ||
} |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
.env | ||
|
||
.DS_Store | ||
*/.DS_Store | ||
|
||
node_modules |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
{ | ||
"recommendations": ["apollographql.vscode-apollo","redhat.vscode-yaml"] | ||
} |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
{ | ||
"terminal.integrated.profiles.osx": { | ||
"graphos": { | ||
"path": "zsh", | ||
"args": ["-l"], | ||
"env": { | ||
"APOLLO_KEY": "", | ||
"APOLLO_GRAPH_REF": "", | ||
} | ||
} | ||
}, | ||
"terminal.integrated.defaultProfile.osx": "graphos" | ||
} |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
{ | ||
"version": "2.0.0", | ||
"tasks": [{ | ||
"label": "rover dev", | ||
"command": "rover", // Could be any other shell command | ||
"args": ["dev", "--supergraph-config","supergraph.yaml", "--router-config","router.yaml"], | ||
"type": "shell", | ||
"problemMatcher": [], | ||
}] | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I found this JSONSchema which somehow adds a tiny little bit of documentation to the textmate format.