I have working tinySQL GraphQL server running at 127.0.0.1:3000. I would like to create any working Relay client for it. I mean any working example for query:   {   groupBy (age: 20, job: "student") {     id,     name,     age,     job   } }...
Title mostly says it all: I'm building a react / relay application which will allow the user to dynamically create charts at runtime displaying their various income streams over a specified time range. One feature of this chart is the ability of...
I am using a QueryRenderer to populate an edit form in my application. The data is also being displayed in additional DOM elements throughout the page. I am then saving the values back on form submit through a mutation. Everything works great, except...
I have a simple express graphql server:  const schema = require('./schema'); const express = require('express'); const graphqlHTTP = require('express-graphql'); const cors = require('cors') const bodyParser = require(&...
so I am working on relay for react application with server side rendering. I'm trying to use relay to get data from graphql endpoint.  I was kinda following this, using fetchQuery to get data by making request from compiled graphql by relay-compi...
I'm having this weird issue, basically:   graphql request made from QueryRenderer Response comes back from the server contains data (inspected from Network tab in dev tools) props populated in QueryRenderer render({ error, props }) function the p...
Consider the following GraphQL mutation to update many register on database (mongodb with mongoose):  const activateCustomers = {     type: CustomerType,     description: "Activate  multiple customers",     args: {         ids: {...
I am getting this error.  Cannot read property 'then' of undefined.  I hope the rest of my code does what it should, but somehow my promise does not work. What am i doing wrong?  // @flow import { commitMutation, graphql } from 'react-rel...
I am learning Relay library for GraphQL in React app. I did everything as in official docs. My /project/resources/js/schema.graphql has:  type usersPagination {   """List of items on the current page"""   data: [Users]    "...
I had a perfectly working relay modern app with 1.1.0 babel-plugin-relay + react-relay + react-compiler + graphql 0.10.x, react 15.5.x but since upgrading all of them to 1.4.1 and graphql to 0.11.7 and react to 16.0.0 I keep getting this error when r...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.