Skip to content

Commit a8a32d2

Browse files
authored
Add notes from 2025-01 WG (#326)
1 parent 4271183 commit a8a32d2

File tree

1 file changed

+66
-0
lines changed

1 file changed

+66
-0
lines changed

working-group/notes/2025/2025-01.md

+66
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,66 @@
1+
# GraphQL-over-HTTP WG - 25th January 2024
2+
3+
**Watch the replay**:
4+
https://www.youtube.com/watch?v=nHSixplvCc0&list=PLP1igyLx8foEz9127xc0SsabIrbTMt9g5
5+
6+
Agenda:
7+
https://github.com/graphql/graphql-over-http/blob/main/working-group/agendas/2025/01-Jan/30-graphql-over-http-wg-january-2025.md
8+
9+
Participants:
10+
11+
- @shane32
12+
- @martinbonnin
13+
- @benjie
14+
- @enisdenjo
15+
16+
## Watershed
17+
18+
- [https://github.com/graphql/graphql-over-http/pull/322](https://github.com/graphql/graphql-over-http/pull/322)
19+
- Aim of the spec:
20+
- Benjie: describe the status quo
21+
- Benjie: increase compatibility by describing what’s used right now
22+
- Benjie: this was expected to be released pretty quickly. The watershed dates
23+
~2 years ago.
24+
- Security and other discussions have delayed the 1.0 release
25+
- Follow up features:
26+
- Batched variables
27+
- Trusted documents
28+
- Etc…
29+
- Denis: the “must” are implemented. The “should” are not always
30+
- It’s not released yet
31+
- Benjie: serving over HTTP is relatively straightforward.
32+
- People were just using the “serving over HTTP” page. Requiring the new content
33+
type would break those.
34+
- Shane: technically, a server that does not support the new content-type
35+
wouldn’t be compliant because they would not auto switch.
36+
- There’s a difference between server and clients. We could require clients to
37+
send both content-types and relieve some of the pain for server.
38+
- Shane: HTTP spec mandates the order of the Accept header. Or is it?
39+
- Benjie: We could remove the watershed and release as-is
40+
- Benjie: partial HTTP status code is probably something we want to add before
41+
releasing
42+
- Denis: 200 is recommended only if there are no “errors”
43+
- Benjie: We could make an update with a “should” but it’d be better for
44+
compatibility if we could make it a “must”.
45+
- Benjie: we should consider making 200 a “MUST” if data is present and there is
46+
no error.
47+
48+
## Spec status
49+
50+
- What about clients sending no “accept” headers?
51+
- If the client doesn’t send an “accept” header, the client can do whatever it
52+
wants
53+
- We could mandate the “accept” header for any graphql client.
54+
- Is this something we include in the testing suite?
55+
- Not really, testing clients is a lot of work.
56+
- Does it matter if a curl client isn’t a compliant client?
57+
- Maybe not as long as the server would return something. The script would still
58+
work.
59+
- If we want to change the aim of the spec, we can! Filing an issue is the way
60+
to go.
61+
- Benjie: question for the GraphQL foundation board: how many requests do not
62+
have an “accept” header?
63+
- Martin: would be also useful to know what percentage of servers support the
64+
new media type
65+
- Benjie: the only thing holding the spec back is security.
66+
- Issue 280

0 commit comments

Comments
 (0)