99designs / 99designs/gqlgen

EPIC: Directive support

Aberta
#760 5 comentários 19 reações 0 responsáveis Ver no GitHub
accepted
Linguagem predominante
Go
Estrelas
10.8k
Forks
1.3k
Merge médio
2d 36min
PRs com merge (30d)
26

Descrição

Here to track the status of directives

:warning: these features are subject to change - if you are using any of these features make sure you have tests on your directives that actually run queries against a graph. :warning:

Execution directives
====
location | implemented | obj is
-----|----- | ---
QUERY | :heavy_check_mark: https://github.com/99designs/gqlgen/pull/744 | *ast.OperationDefinition
MUTATION | :heavy_check_mark: https://github.com/99designs/gqlgen/pull/744 | *ast.OperationDefinition
SUBSCRIPTION | :heavy_check_mark: https://github.com/99designs/gqlgen/pull/744 | *ast.OperationDefinition
FIELD | :heavy_check_mark: https://github.com/99designs/gqlgen/pull/756 | parent type
FRAGMENT_DEFINITION | :no_entry:
FRAGMENT_SPREAD | :no_entry:
INLINE_FRAGMENT | :no_entry:

Schema directives
===
location | implemented | obj is
---|--- | --
SCHEMA | :no_entry:
SCALAR | :no_entry:
OBJECT | :heavy_check_mark: https://github.com/99designs/gqlgen/pull/1117 | parent type
FIELD_DEFINITION | :heavy_check_mark: | parent type
ARGUMENT_DEFINITION | :heavy_check_mark: https://github.com/99designs/gqlgen/pull/460 | argument bag
INTERFACE | :no_entry:
UNION | :no_entry:
ENUM | :no_entry:
ENUM_VALUE | :no_entry:
INPUT_OBJECT | :no_entry:
INPUT_FIELD_DEFINITION | :heavy_check_mark: | parent input

Schema field directives on subscriptions
===
obj is always nil for any root (Query, Mutation, Subscription)
next() returns a channel of the field type

Guia de contribuição

Abrir o guia de contribuição

Direção de pesquisa

Esta é uma issue épica de acompanhamento para o suporte a diretivas em muitos locais do GraphQL. Revise os pull requests vinculados para entender o status atual da implementação. O trabalho envolve estender o codegen e o mecanismo de execução na biblioteca gqlgen. Comece examinando o código de tratamento de diretivas nos pacotes codegen e execution para ver o padrão dos locais implementados, como FIELD e OBJECT.

Escrita pelo modelo de indexação a partir do texto da issue.

Avaliação

Stack de tecnologia
go, graphql
Domínio
api, backend
Tipo de issue
Funcionalidade
Dificuldade
5/5
Tempo estimado
Mais de uma semana
Status de atividade
Estagnada
Clareza
Razoavelmente clara
Facilidade para iniciantes
25/100

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.