Skip to content
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

feat(jit): support introspection in JIT #2769

Merged
merged 33 commits into from
Aug 30, 2024
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
33 commits
Select commit Hold shift + click to select a range
24af819
- execute introspection request with async_graphql
laststylebender14 Aug 29, 2024
cb587db
- remove std::mem::take
laststylebender14 Aug 29, 2024
5d5c9b3
- imple merge_right for async_gql response
laststylebender14 Aug 29, 2024
221a27b
Merge branch 'main' into fix/execute-introspection-requests-with-asyn…
laststylebender14 Aug 29, 2024
f7d1d0f
- add case where introspection is executed via async graphql and actu…
laststylebender14 Aug 29, 2024
d930e07
- lint formatting changes
laststylebender14 Aug 29, 2024
dd095f6
- drop clone
laststylebender14 Aug 29, 2024
c530b0b
- include birthdate in selection set
laststylebender14 Aug 29, 2024
e2fe5a2
- removed skip test marker
laststylebender14 Aug 29, 2024
3d908db
- utilise executable doc to figure out if query is of introspection.
laststylebender14 Aug 29, 2024
0285f69
- added case where introspection query present in selection set but i…
laststylebender14 Aug 29, 2024
278f179
- rename test
laststylebender14 Aug 29, 2024
7aa3b46
- deleting snaps: changed name of test
laststylebender14 Aug 29, 2024
295aad7
- skipping __typename as it's implemented in JIT
laststylebender14 Aug 29, 2024
ade7145
Merge branch 'main' into fix/execute-introspection-requests-with-asyn…
laststylebender14 Aug 29, 2024
358a20a
- added test for merging async responses
laststylebender14 Aug 29, 2024
da62b03
- added test for merging of errors
laststylebender14 Aug 29, 2024
ae11ff3
- lint changes
laststylebender14 Aug 29, 2024
28ad6ef
- added snap
laststylebender14 Aug 29, 2024
948d8ab
Merge branch 'main' into fix/execute-introspection-requests-with-asyn…
laststylebender14 Aug 29, 2024
2154995
- drop method, use make field public
laststylebender14 Aug 29, 2024
3b8f1b2
- revert: clone request outside.
laststylebender14 Aug 29, 2024
a9f5463
- compute is_introspection_query separately.
laststylebender14 Aug 29, 2024
080ea31
- lint changes
laststylebender14 Aug 29, 2024
f167043
- remove duplicate cloning
laststylebender14 Aug 29, 2024
0d86e00
Merge branch 'main' into fix/execute-introspection-requests-with-asyn…
laststylebender14 Aug 29, 2024
949df8c
inline function
tusharmath Aug 29, 2024
b6a6a26
- drop un-used method.
laststylebender14 Aug 29, 2024
4a2783e
- lint changes
laststylebender14 Aug 29, 2024
96c1969
use lift to implement clone
tusharmath Aug 29, 2024
c61b17c
- avoid cloning when unnecessary
laststylebender14 Aug 29, 2024
5eba36e
- allow dead code for lift
laststylebender14 Aug 29, 2024
5cf9433
Merge branch 'main' into fix/execute-introspection-requests-with-asyn…
tusharmath Aug 30, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
- include birthdate in selection set
  • Loading branch information
laststylebender14 committed Aug 29, 2024
commit c530b0b24406cc9c14f98e0a5db5a3b2ce5f1bde
3 changes: 2 additions & 1 deletion tests/core/snapshots/graphql-conformance-http-013.md_1.snap
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,8 @@ expression: response
},
"me": {
"id": 1,
"name": "John Smith"
"name": "John Smith",
"birthday": "2023-03-08T12:45:26-05:00"
}
}
}
Expand Down
3 changes: 2 additions & 1 deletion tests/execution/graphql-conformance-http-013.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ type User {
body:
id: 1
name: "John Smith"
birthday: "12-06-1998"
birthday: "2023-03-08T12:45:26-05:00"
```

```yml @test
Expand Down Expand Up @@ -64,6 +64,7 @@ type User {
me {
id
name
birthday
}
}
```
3 changes: 3 additions & 0 deletions tests/execution/test-required-fields.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
# Test API
---
skip: true
---

```graphql @config
schema @server @upstream(baseURL: "https://jsonplaceholder.typicode.com") {
Expand Down
Loading