All Projects → jpascal → Graphql Upload

jpascal / Graphql Upload

Licence: mit
Middleware and an Upload scalar to add support for GraphQL multipart requests (file uploads via queries and mutations) to various GoLang GraphQL servers

Programming Languages

go
31211 projects - #10 most used programming language
golang
3204 projects

Projects that are alternatives of or similar to Graphql Upload

Graphql Batch
A query batching executor for the graphql gem
Stars: ✭ 1,164 (+3537.5%)
Mutual labels:  graphql, batch
Graphql Serverless
GraphQL (incl. a GraphiQL interface) middleware for the webfunc serverless web framework.
Stars: ✭ 124 (+287.5%)
Mutual labels:  graphql, middleware
Graphql Factory
A toolkit for building GraphQL
Stars: ✭ 44 (+37.5%)
Mutual labels:  graphql, middleware
Asp.net Core Graphql Middleware
ASP.Net Core GraphQL Middleware
Stars: ✭ 38 (+18.75%)
Mutual labels:  graphql, middleware
Dataloader Php
DataLoaderPhp is a generic utility to be used as part of your application's data fetching layer to provide a simplified and consistent API over various remote data sources such as databases or web services via batching and caching.
Stars: ✭ 160 (+400%)
Mutual labels:  graphql, batch
Dataloader
DataLoader is a generic utility to be used as part of your application's data fetching layer to provide a consistent API over various backends and reduce requests to those backends via batching and caching.
Stars: ✭ 11,040 (+34400%)
Mutual labels:  graphql, batch
Apollo upload server Ruby
Stars: ✭ 124 (+287.5%)
Mutual labels:  graphql, middleware
Java Dataloader
A Java 8 port of Facebook DataLoader
Stars: ✭ 367 (+1046.88%)
Mutual labels:  graphql, batch
Graphbrainz
A fully-featured GraphQL interface for the MusicBrainz API.
Stars: ✭ 130 (+306.25%)
Mutual labels:  graphql, middleware
Join Monster Graphql Tools Adapter
Use Join Monster to fetch your data with Apollo Server.
Stars: ✭ 130 (+306.25%)
Mutual labels:  graphql, batch
Graphql Resolve Batch
A GraphQL batching model which groups execution by GraphQL fields.
Stars: ✭ 251 (+684.38%)
Mutual labels:  graphql, batch
Persistgraphql
A build tool for GraphQL projects.
Stars: ✭ 409 (+1178.13%)
Mutual labels:  graphql, middleware
Graphql Parser Php
A PHP extension wrapping the libgraphqlparser library for parsing GraphQL.
Stars: ✭ 29 (-9.37%)
Mutual labels:  graphql
Micro Xrce Dds Client
Micro XRCE-DDS Client repository
Stars: ✭ 30 (-6.25%)
Mutual labels:  middleware
Registration
Powerful and extensible registration system for hackathons and other large events
Stars: ✭ 29 (-9.37%)
Mutual labels:  graphql
Django Graph Api
Pythonic implementation of the GraphQL specification for the Django Web Framework.
Stars: ✭ 29 (-9.37%)
Mutual labels:  graphql
Citation
Citation is a new generation CMS merging ideas of: Headless / GraphQL, static site generation and JavaScript component pre-rendering
Stars: ✭ 31 (-3.12%)
Mutual labels:  graphql
Link state demo
🚀 Demonstrate how to support multiple stores in Apollo Link State
Stars: ✭ 30 (-6.25%)
Mutual labels:  graphql
Example Kotlin Springboot Graphql
Projeto de exemplo com API GraphQL com dois crud’s simples, utilizando Kotlin, Spring Boot, Gradle etc.
Stars: ✭ 28 (-12.5%)
Mutual labels:  graphql
Eschool
eSchool Microservice based Solution
Stars: ✭ 29 (-9.37%)
Mutual labels:  graphql

graphql-upload

GitHub Actions status

Middleware and an Upload scalar to add support for GraphQL multipart requests (file uploads via queries and mutations) to various golang GraphQL servers.

Installation

go get github.com/jpascal/graphql-upload

Usage

server := &http.Server{
	Addr: "0.0.0.0:5000", 
	Handler: handler.New(func(request *handler.Request) interface{} {
		return graphql.Do(graphql.Params{
			RequestString:  request.Query,
			OperationName:  request.OperationName,
			VariableValues: request.Variables,
			Schema:         schema.New(),
			Context:        request.Context,
		})
	}, &handler.Config {MaxBodySize: 1024}),
}
    server.ListenAndServe()

Contributing

  1. Fork it ( https://github.com/jpascal/graphql-upload/fork )
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create a new Pull Request
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].