GraphQL

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 9,289 public repositories matching this topic...
Hi,
I'm looking for something like .prettierignore but on a global level, i don't want to copy that file to every new directory i make just to ignore 1 file extension which isn't supported anyway.
AFAIK this isn't supported right?
BTW the extension in this case is EJS which prettier thinks is JS and some other stuff so the best way really is to ignore .ejs as a whole.
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
- Setup Strapi with MongoDB configuration.
- Create a collection (resource).
- Give
findOne
access to the public. - Send a request to
/resource-name/any-invalid-id
.
Expected behavior
404 response.
**Sys
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
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
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
The search functionality in the Data & Schema Management of Hasura seems to filter records considering the case of letters as well.
If this was an intended functionality, it's still better to show the tables which match the filter condition and don't match the letter-case below the tables that match with the exact letter-case.
Feature requests
Based on the documentation at https://graphql.org/learn/execution/#root-fields-resolvers, I expected that resolvers would always receive the parent/previous object as the first argument. However when I tested the library, the arguments received by the resolvers are actually (args, context, info)
.
This doesn't match the documentation, and is a serious limitation when one
I think the client-side URL routing on your docs website is broken?
Reproduction:
- Go to https://www.apollographql.com/docs/react/
- In left hand menu click "Api Reference" then "class ApolloClient"
- client-side JS pushes the URL "https://www.apollographql.com/docs/react/api/apollo-client/"
- reload page
- get a page not found error
I think the URL should be something like: "http
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
-
Updated
May 15, 2020 - TypeScript
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
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\\****
we used to publish at our deploy preview/lsp, however I think just publishing on each merge to master is fine for the time being. we were having issues that were slowing down the netlify build. i would like to break out the netlify config into seperate actions using the cli action. the root package.json script is just build-docs
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,
https://www.apollographql.com/docs/apollo-server/data/errors/#codes
Mentions that:
In addition to stacktraces, Apollo Server's exported errors specify a human-readable string in the code field of extensions that enables the client to perform corrective actions. In addition to improving the client experience, the code field allows the server to categorize errors. For example, an Authenticat
Why not providing a mongo/mongoose code example in the examples
folder, as this seens to be a very common usage scenario?
I'm submitting a ...
- bug report
- [ X] feature request
- question
PostGraphile version: 4.4.4
postgraphile should honor variables in query string as defined in https://github.com/graphql/express-graphql#http-usage when the query is provided as post body.
with the following exampl
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.
Add Golang tutorial
I've recently started to implement a graphql server in golang, and It was a good experience.
I read about libraries for creating graphql server in golang and these options came across:
- https://github.com/graphql-go/graphql
- https://github.com/99designs/gqlgen
- https://github.com/graph-gophers/graphql-go
graphql-go/graphql
is the first library that started implementing graphql in g
POST Example
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
Summary
Add a site AMP version.
Basic example
Nuxt.js has an example: https://github.com/nuxt/nuxt.js/tree/dev/examples/with-amp
Gatsby AMP Plugin: https://www.gatsbyjs.org/packages/gatsby-plugin-amp/
Motivation
The AMP Project support is very important to accessibility and Google's Pagerank. So, it could will be awesome had this support in Gridsome.
This issue pertains to the following package(s):
- GraphQL Playground - Electron App
- GraphQL Playground HTML
- GraphQL Playground
- GraphQL Playground Express Middleware
- GraphQL Playground Hapi Middleware
- GraphQL Playground Koa Middleware
- GraphQL Playground Lambda Middleware
The default value of request.credentials is "omit". The differs from th
Description
To be able to optionaly remove the google fonts dependency on any page of the api-platform.
Example
Remove the google font stylesheet in line 8 in the file api-platform\core\src\Bridge\Symfony\Bundle\Resources\views\SwaggerUi\index.html.twig depending on a configuration variable.
Context
I'm working on an intranet application for a 100000+ employees company and
Duplicated server using code from https://github.com/prisma/graphql-yoga#mocking and got the following error:
Error: No schema defined
server start code snippet:
...
const server = new GraphQLServer({ typeDefs, mocks })
const options = {
endpoint: '/',
playground: '/playground',
subscriptions: '/',
logFunction: (e) => console.log,
debug: true,
}
server.start(options,
graphql-core dropped support for the Promise library (since asyncio is now the official way to do async code in Python). @syrusakbary has already created an asyncio version of dataloader: https://github.com/syrusakbary/aiodataloader . We should update the documentation.
-
Updated
Sep 3, 2019 - TypeScript
2.1 emphasizes the use of their new Component based methodology, with things like the <Query>
and <Mutation>
component. They've pushed for it to the point that it is quickly becoming difficult to find documentation for the 2.0 methods used in learnapollo.
A full update to 2.1 for apollo sections seems to be in order.
Created by Facebook
Released 2015
- Organization
- graphql
- Website
- graphql.org
- Wikipedia
- Wikipedia
Summary
Enable the
heading-increment
rule to our remark-lint config.Followup of #21919
Motivation
Headings should only increase 1 level at a time for accessibility.
Steps