-
Updated
Jul 8, 2022 - Python
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 853 public repositories matching this topic...
-
Updated
Jul 9, 2022 - Python
Add a note on the TestClient section about the behavior difference between those two ways, i.e. lifespan events.
Considering the follow application:
from starlette.applications import Starlette
from starlette.requests import Request
from starlette.responses import Response
from starlette.routing import Route
from starlette.testclient import TestClient
async def startup() Hey! When I was reading the docs and I saw api.background.task, the first thing that popped into my head was "but you can just use asyncio.create_task or loop,.run_in_executor for that without inventing something new!". But then I noticed that it also passes the context vars to the synchronous backround stuff, which is nice. Wonder why that's not the case in the stdlib, cause it would be nic
Test coverage 100%
SentryMiddleware
-
Updated
Jul 8, 2022 - Python
We only have documentation for schema directives, we should document query directives, here's an example of how they work: https://github.com/strawberry-graphql/strawberry/blob/main/tests/schema/test_directives.py
-
Updated
Jul 4, 2022 - Python
This might be helpful - too many redirects may be considered an error. E.g. the API schema might need to provide endpoints that won't involve any redirection at all, for example, if the app redirects "/api/users" to "/api/users/", then the schema should have endpoints with trailing slashes to avoid these redirects for clients at all.
Implementation notes
- Update
models.Case.callsignatu
-
Updated
Jul 7, 2022 - Python
-
Updated
Jun 14, 2022 - Python
-
Updated
Jun 27, 2022 - Python
-
Updated
Jul 9, 2022 - Python
-
Updated
Jul 5, 2022 - Python
-
Updated
Jun 9, 2022 - Python
-
Updated
Mar 10, 2022 - Python
-
Updated
Mar 14, 2022 - Python
Make a concise print function for the QueryPlanningAnalysis class https://github.com/kensho-technologies/graphql-compiler/blob/v2.0.0.dev25/graphql_compiler/cost_estimation/analysis.py#L381
In most cases, the printout of the analysis passes is enough to explain why a particular query plan was chosen.
-
Updated
Jun 26, 2022 - Python
Loving this project.
I feel like this project would benefit from a short quick start tutorial that demonstrate common methods such as:
Create item
mutation = Operation(schema.Mutation) # note 'schema.'
mutation.create_item(input=dict(id="23432")).__fields__()
List items with filter
op = Operation(schema.Query) # note 'schema.'
op.list_it
-
Updated
Jun 23, 2022 - Python
-
Updated
Jul 8, 2022 - Python
-
Updated
Jul 8, 2022 - Python
-
Updated
Jul 8, 2022 - Python
Created by Facebook
Released 2015
- Organization
- graphql
- Website
- graphql.org
- Wikipedia
- Wikipedia
I have a custom input object type
and the query definition