General HTTP guidance improvements
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 5/5
- Tiempo estimado
- Más de una semana
- Aptitud para principiantes
- 35/100
- Tipo de issue
- Nueva funcionalidad
- Claridad
- Necesita aclaración
- Estado de actividad
- Tranquilo
- Stack tecnológico
- graphql
- Área
- api, documentation
Línea de trabajo
Revisa la especificación de GraphQL over HTTP y las directrices HTTP propuestas en el issue sobre autenticación, gestión de archivos, idempotencia, códigos de error y directivas. Determina primero qué propuestas están dentro del alcance y si es necesario cambiar la implementación de referencia. Se considera terminado cuando un alcance acordado se refleja en la especificación y en la cobertura correspondiente de la implementación de referencia.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Hi,
I see that the proposed spec is supporting most HTTP status codes. Does this group have any opinion on the following;
1-Providing guidance in the specification to use appropriate HTTP codes, particularly around the HTTP error codes 4XX/5XX to describe the outcome, without being prescriptive about which error code should be used when, would be helpful.
2-Describing how to perform Authentication Authorization for GraphQL requests over HTTP would be helpful (even though AuthN and AuthZ can be outside the scope of this spec, specifying it so and having references to standard API protocols such as OpenId connect/OAuth2 would be useful).
3-Providing some guidance/making statements around File handling (It is ok to specify that this should be done outside the GraphQL request/response handling)
4-Providing some guidance around idempotent mutation operations over HTTP
5-In the reference implementation, covering all HTTP error codes would be helpful for the Implementor (at least the most widely used codes such as 400, 401, 403, 404, 409, 422, 405, 415, 413, 500, 503
Finally coming up with directives to describe HTTP protocol specific metadata in the schema would be helpful. Some example below;
1-Declaring authorization requirements at an Operation level (@authPolicy or @authorization directive?)
2-Declaring that a Mutation Operation is idempotent (@idempotent directive?)
3-Declaring the HTTP request and response headers in the schema (@httpRequestHeader and @httpResponseHeader directives?)
4-Declaring the status codes of each Operations (@httpStatusCodes directive?)
Non-HTTP
1-Declare the grouping of API operations by product capability (although not HTTP specific) (@tags directive?)
2-Declaring service level objectives for an operation (@slo directive?)
3-Declaring the unique operation id for each API operation (@operationId directive?)
Happy to discuss these and contribute back. Also happy to share things we did ay PayPal around these.
Thanks,
Jayadeba
- Lenguaje dominante
- JavaScript
- Estrellas
- 428
- Forks
- 70
- Merge medio
- 11 min
- PR fusionados (30 d)
- 4
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Tiene una plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de graphql/graphql-over-http
-
Dificultad 3/5 Medio día Aptitud para principiantes 25/100
graphql/graphql-over-http#446 · 3 comentarios ·
-
Dificultad 5/5 Más de una semana Aptitud para principiantes 25/100
graphql/graphql-over-http#415 ·
-
Persisted documents by default?Abierto
Dificultad 5/5 Más de una semana Aptitud para principiantes 25/100
graphql/graphql-over-http#392 · 4 reacciones ·
-
Clarification for `Accept: */*`Abierto
Dificultad 4/5 3-5 días Aptitud para principiantes 35/100
graphql/graphql-over-http#242 · 8 comentarios ·
-
Dificultad 5/5 Más de una semana Aptitud para principiantes 35/100
graphql/graphql-over-http#216 · 15 comentarios · 1 reacción ·
Todos los issues de graphql/graphql-over-http
Issues similares
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
Los mantenedores suelen responder en 1 día
-
feature request
Dificultad 2/5 1-3 horas Aptitud para principiantes 65/100
openlayers/openlayers#17736 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
Dificultad 1/5 Menos de una hora Aptitud para principiantes 82/100
521xueweihan/HelloGitHub#4326 ·
-
Dificultad 1/5 Menos de una hora Aptitud para principiantes 90/100
Mintplex-Labs/anything-llm#7133 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 67/100
Los mantenedores suelen responder en 1 día