Skip to content
#

GraphQL

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 11,846 public repositories matching this topic...

prettier
lydell
lydell commented Mar 22, 2020

Now that Prettier 2.0 has been released with its improved CLI, I think we should add a section do the docs showing a recommended example setup.

  1. Recommend using an editor extension that lets you run Prettier from your editor. Link to popular extensions. Maybe add some tips on how to configure for example prettier-vscode.
  2. Recommend adding an empty ({}) .prettierrc.json to signify to edit
amrsalama
amrsalama commented Apr 24, 2020

Describe the bug
Find-one endpoint /resource/:id responses with 500 status code instead of 404, this happens with MongoDB setup.

Steps to reproduce the behavior

  1. Setup Strapi with MongoDB configuration.
  2. Create a collection (resource).
  3. Give findOne access to the public.
  4. Send a request to /resource-name/any-invalid-id.

Expected behavior
404 response.

**Sys

langpavel
langpavel commented Oct 24, 2017

Too wide (and falsy) segregation of GraphQL Types and Resolvers

The first example of this is new ObjectType in src/data/queries/index.js importing fields.
Fields should be taken in context of parent type, not as standalone information.

This can ensure some users that custom types cannot have own field resolvers which is false.

In fact, much of fields which can have own resolvers

sunshineo
sunshineo commented Apr 9, 2020

Is your feature request related to a problem? Please describe.
Deployed Parse server using k8 and used /parse/health for the readinessProbe and livenessProbe probe. But when deploy new code and broke the database connection, /parse/health still returns 200 OK. So old container was killed and new broken one brought online

Describe the solution you'd like
Only return 200 ok after db is

graphql-engine
technicallynick
technicallynick commented Apr 15, 2020

Describe the bug
Any attempt to test a subscription directly to the Prisma server via Playground returns the following error:

The provided query doesn't include any known model name. Please check for the latest subscriptions API.

In review of the WS transactions in the browser console, I can see I am receiving this response from the Prisma endpoint, but nothing is being logged by Pri

insomnia
4n70w4
4n70w4 commented Mar 29, 2020

Is your feature request related to a problem? Please describe.
An external API does not always respond successfully. Server errors for example 50x or 429 Too Many Requests may occur. Manually pressing the send button while waiting for a successful response can be tedious.

Describe the solution you'd like
Be able to set the number of retries and the expected/unexpected status codes o

dgraph
rahst12
rahst12 commented Jan 8, 2020

Experience Report

I am currently ingesting a large continuous streaming data set. The most recent data is the most important data. The oldest - either by policy or by least importance needs to be aged-off. Today, we use Neo4J Community Edition. We perform a query to find nodes/relationships older than a specific date and then delete them.

Note: Feature requests are judged based on user

GiladShoham
GiladShoham commented Apr 14, 2020

Currently, if look at the windows_e2e tests on circle under the write e2e files step, you will see this warning:

Error autodetecting timing type, falling back to weighting by name. Autodetect no matching filename or classname.  If file names are used, double check paths for absolute vs relative.
Example input file: "e2e\\api\\add-many.e2e.1.ts"
Example file from timings: "C:\\Users\\****
CristianCucunuba
CristianCucunuba commented Mar 11, 2020

Prerequisites

  • Are you running the latest version?
  • Are you able to consistently reproduce the issue?
  • Did you search the issue queue for existing issue?

Issue Description

The description field is missing in the input schema when you are creating a shop. It's defined in the graphql schema but not in the validation schema. So, if you create a shop with description,

saleor
purpledot
purpledot commented Jan 27, 2020

What I'm trying to achieve

Create checkout with a checkout line.

Steps to reproduce the problem

  1. checkout = Checkout.objects.create(...)
  2. checkout.lines.create(...) or CheckoutLine.objects.create(checkout=checkout, ...)

OR

  1. checkout = Checkout.objects.create(...)
  2. if checkout: pass

What I expected to happen

Database insertion without additional coun

eric-burel
eric-burel commented Feb 28, 2020

Pluralize has unexpected results, it can't be used safely in code. It is only relevant for UI features.
Example: latin words, "schema" => "schemata", "datum => data", plural word are kept plural etc.

Adding an "s" blindly is more efficient though semantically incorrect sometimes. Better, allowing user to provide it's own names for resolver.

edlefebvre
edlefebvre commented Dec 10, 2019

Prerequisites

  • I am running the latest version. (up upgrade)
  • I searched to see if the issue already exists.
  • I inspected the verbose debug output with the -v, --verbose flag.
  • Are you an Up Pro subscriber?

Description

It would be great to add regex capabilities to redirects like so:

redirects: {
  "/folder/:slug(regexhere)": {
    "location": "https
devhub
gnumoksha
gnumoksha commented Nov 19, 2019
$ chmod +x DevHub-0.98.5.AppImage
$ ./DevHub-0.98.5.AppImage
[74678:1119/111718.741581:FATAL:setuid_sandbox_host.cc(157)] The SUID sandbox helper binary was found, but is not configured correctly. Rather than run without sandboxing I'm aborting now. You need to make sure that /tmp/.mount_DevHubUcWLlF/chrome-sandbox is owned by root and has mode 4755.
[1]    74678 trace trap  ./D
robindata-gmbh
robindata-gmbh commented Nov 16, 2018

How I can send a request by POST-Method with the following shema?

Under examples can I find only GET-Requests!

{ 
  "query" :  "..." , 
  "operation" :  "..." , 
  "variables" :  {  "myVariable" :  "somevalue" ,  . . .  } 
}

with :

curl -XPOST http://localhost:5000/xql -H 'Content-Type: application/json' -d \
'{
  "query": "mutation tokenAuth($email:String, $passw

Created by Facebook

Released 2015

Organization
graphql
Website
graphql.org
Wikipedia
Wikipedia

Related Topics

api rest
You can’t perform that action at this time.