Skip to content
#

graphql-api

graphql logo

GraphQL is a data query language developed by Facebook. It provides an alternative to REST and ad-hoc webservice architectures. It allows clients to define the structure of the data required, and exactly the same structure of the data is returned from the server. It is a strongly typed runtime which allows clients to dictate what data is needed.

Here are 535 public repositories matching this topic...

jasonbahl
jasonbahl commented May 27, 2022

As a user, I would like to be able to query a comment by database id.

Currently, the comment query doesn't allow for different id types (such as database id), but many other "single node" entry fields in the Graph support an idType field, such as:

{
  post( id: 123, idType: DATABASE_ID ) { __typename, id }
  contentNode( id: 123 idType: DATABASE_ID ) { __typename, id }
}
Good First Issue ObjectType: Comment Component: Query
evaporei
evaporei commented Feb 15, 2022

There are multiple functions that return Result<T, ()> in the code, this is equivalent to Option<T>, however instead of changing those to optional types, these should return useful error messages/types so it's easier to debug.

Example: https://github.com/graphprotocol/graph-node/blob/79390c39a13f166999ceea8defc55eedd05265ab/graph/src/data/subgraph/mod.rs#L169

Some of them could just retu

good first issue
morpheus-graphql
AlistairB
AlistairB commented Sep 12, 2020

The fix for #509 enables using graphql interfaces and sub types in the client. However, it does so in a way that creates partial record accessors.

https://github.com/AlistairB/morpheus-repro/tree/partial-fields demonstrates the issue. stack build will produce the warning (it uses m

enhancement good first issue scope/client
leoloso
leoloso commented Jan 3, 2021

The Settings accepts several options which modify permalinks:

  • Single endpoint path
  • Persisted query base slug
  • Other similar ones

We must validate that the input values are correct. Things to watch out for:

  • Unsupported chars: !@#$%*()+='"...
  • Too long: thispathistoolongthatthebaseslugcantprocessit
  • Many instances of // together: /graphql-query/base//path/

Created by Facebook

Released 2015

Organization
graphql
Website
graphql.org
Wikipedia
Wikipedia

Related Topics

api rest