Questions tagged [graphcool]

GraphQL Backend Development Framework

Graphcool is a GraphQL backend framework to develop and deploy production-ready GraphQL microservices. It currently supports Node.js & Typescript and is compatible with existing libraries and tools like GraphQL.js and Apollo Server. The framework comes with a CLI and a Docker-based runtime which can be deployed to any server or cloud.

Resources

117 questions
0
votes
1 answer

Get posts of users using *ngFor (angular + apollo + graphcool)

I have this query graphql in Graphcool: const FeedQuery = gql` query FeedPosts($id:ID!){ User(id:$id){ id follows{ id followed{ id …
Juliano JC
  • 765
  • 1
  • 6
  • 13
0
votes
1 answer

ReferenceManyField, ReferenceArrayField

I'm trying to build a admin app with admin-on-rest connected to Graph.cool. I's working except the relational references. On graph.cool we set up a related field to another "type" and the created fields are array of objects with a related id prop…
0
votes
0 answers

What is "/usr/local/bin/gc" and why is it throwing an error when I upgrade graphcool client?

npm update -g graphcool I'm upgrading from v 0.5 to the latest graphcool client and I'm getting the following error npm ERR! path /usr/local/bin/gc npm ERR! code EEXIST npm ERR! Refusing to delete /usr/local/bin/gc: is outside…
MonkeyBonkey
  • 46,433
  • 78
  • 254
  • 460
0
votes
2 answers

Github Login with Graphcool

I am attempting to implement a GitHub Login with GraphCool. So far: Steps I've run: graphcool add-template auth/github I uncommented the links in the graphcool.yml and typs.graphql files I setup a GitHub OAuth app I added my client name and secret…
Tabbyofjudah
  • 1,973
  • 3
  • 17
  • 29
0
votes
1 answer

Create Relationship when Adding Item with Graphql

In my apollo project, when a user creates a project it should automatically create the first folder associated with it. My schema is something like: type Project implements Node { id: ID! @isUnique createdAt: DateTime! updatedAt: DateTime! …
captDaylight
  • 2,224
  • 4
  • 31
  • 42
0
votes
1 answer

GraphQL graph.cool user query not working with Auth0 token

Despite using a theoretically working authentication token, the userQuery request from UserProvider returns a null user and networkStatus of 7, indicating that it is done loading and that there is no "error," despite the user being null. class…
Connorelsea
  • 2,308
  • 6
  • 26
  • 47
0
votes
1 answer

Graphcool subscriptions: new file uploads

in graphcool, is a file upload a mutation that one can subscribe to? if not: how would I get realtime updates on newly uploaded files? I adapted the code from the subscriptions-with-apollo-instagram example, but this does not seem to…
kindoflike
  • 437
  • 4
  • 16
0
votes
1 answer

How to pass array in Lokka mutation?

I am working on a project having GraphCool, Lokka and Nodejs. I had to pass itemsIds: [ID!], now when an array of strings is passed into string literal the array becomes [id1, id2, id3] and the mutation needs ["id1", "id2", "id3"]. The problem is…
Asif
  • 429
  • 3
  • 10
0
votes
1 answer

Auth0-lock react native deprecated

const createUser = gql` mutation ($idToken: String!) { createUser(authProvider: { auth0: {idToken: $idToken}}) { id } } ` https://github.com/auth0/react-native-lock I can not enter idToken because the library is deprecated.…
Yakup Ad
  • 1,591
  • 16
  • 13
0
votes
1 answer

Mutation not resolving until called again

I am creating a React Native application and am using basic email/password auth supplied by Graphcool. I trigger the mutation when pressing the 'Log in' button. On the first press of the button the code within the then callback never is executed; On…
0
votes
2 answers

Apollo subscription with graph.cool and Algolia

Now I have Meteor app with MongoDB geo-indexes. And I'm using this kind of pub/sub: Meteor.publish('items', function itemsPublication(NELat, NELong, SWLat, SWLong) { return Items.find({ $and: [ { 'till': { …
none
  • 1,699
  • 2
  • 13
  • 18
0
votes
1 answer

Uncaught Error: AllPostsComments.render(): A valid ReactComponent must be returned

So, I'm receiving the following error message when attempting to data from a GraphCool backend: Uncaught Error: AllPostsComments.render(): A valid ReactComponent must be returned. You may have returned undefined, an array or some other invalid…
TheoG
  • 1,498
  • 4
  • 30
  • 54
1 2 3 4 5 6 7
8