Questions tagged [scaphold]

Scaphold.io, GraphQL backend as a service platform for rapid app development

Scaphold.io: GraphQL Backend as a Service

Build an app in minutes with Scaphold.io

Check out other cool projects built on Scaphold on their Community Page

Y Combinator W17

7 questions
9
votes
1 answer

How do you pass a list or array of objects into a GraphQL mutation designed to update a single object?

I'm using Scaphold.io to build out the back end of a little app I'm working on, and have run into a problem trying to update a number of items in a single mutation request. In Scaphold, when you create a new Type, mutations are created for common…
Jonathan Heron
  • 191
  • 1
  • 5
5
votes
1 answer

How should reordering items in a list, and updating multiple objects, be persisted with GraphQL mutations?

The stack I'm using Scaphold.io as my GraphQL server Vue Apollo on the client side Vue Draggable library for handling drag and drop What I'm trying to do I'm building an app that presents multiple lists to users, each of which contains multiple…
Jonathan Heron
  • 191
  • 1
  • 5
1
vote
1 answer

How to add additional request body values to Apollo GraphQL request?

I'm using Apollo with the Scaphold.io service and for writing blobs to that service I need to be able to add additional options to the request body. The full Scaphold example can be found here: https://scaphold.io/docs/#uploading-files But it does…
Zack
  • 657
  • 5
  • 16
1
vote
1 answer

GraphQL login with Auth0 and Scaphold

I've been using a GraphQL backend as a service platform called Scaphold.io and I'm trying to implement social authentication with Auth0. However, when I enable the integration on the platform, I see three mutations. Which one is the preferred method…
Khallil Mangalji
  • 471
  • 5
  • 13
1
vote
1 answer

What are the required fields for ScapholdSchema?

Can you explain what this schema means? type ScapholdSchema { id: ID! name: String! description: String types: [ScapholdType] }
yayitswei
  • 4,587
  • 5
  • 27
  • 34
1
vote
1 answer

how to delete multiple items in graphql?

Given an array of ids, how can I write a delete mutation to delete multiple items at the same time? PS: I'm using a graphql hosted plateform provided by Scaphoold.io
tahayk
  • 492
  • 1
  • 5
  • 20
0
votes
2 answers

how to update the results of a component's query based on the results of an other component's subscription?

I have 2 react components on the same page, Component 1 query a list of users Component 2 subscribe to the event of creating a new user I can’t figure out a way to update the results of the component 1 based on the results of component 2's…