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 532 public repositories matching this topic...

butla
butla commented Feb 5, 2020

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

strawberry
ndanielsen
ndanielsen commented Sep 4, 2019

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
abhaybhargav
abhaybhargav commented Apr 9, 2020

Hi

I have been using graphene-mongo for a while now. I use all resolvers and mutations post validation of an Access token in the HTTP Authorization header. However, I am not aware of how I can do that for a MongoengineCollectionField

For example, I have defined it as follows

class Query(graphene.ObjectType):
    all_projects_to_models = MongoengineConnectionField(Project)

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.