relay Questions

15

Solved

I'm trying to add debouncing with lodash to a search function, called from an input onChange event. The code below generates a type error 'function is expected', which I understand because lodash i...
Refrigerator asked 29/3, 2016 at 20:6

1

I am trying to create more simplified output in the *.d.ts typescript files which are included with the bundled version of my modules code. These files are generated through a chain involving the t...
Chalco asked 13/9, 2019 at 17:9

1

I am seeing this error: Uncaught RelayNetwork: No data returned for operation in my application. I am using Relay Modern with "relay-runtime": "1.7.0" The question i am having is how to catch t...
Explosive asked 17/1, 2020 at 13:53

3

Solved

It would be great for development with Relay to print the GraphQL SDL directly with the Hot Chocolate GraphQL server. Is there a way to do this? schema { query: Query } type Query { sayHello: St...
Messing asked 14/1, 2021 at 10:44

1

I am struggling with react-router and relay integration. As of now, I stick to this example It uses the useLazyLoadQuery hook, and although everything seems to work just fine, I also see another wa...
Westmoreland asked 13/7, 2021 at 8:12

1

I know the relay documentation states that react-router v4/5 is no good with Relay since they changed to dynamic routing, but if you look really closely it always says: "Last updated on 2017-6-...
Conditional asked 17/9, 2019 at 14:44

1

I set up my domain name and private email address in Certificates, Identifiers & Profiles. Both are SPF checked. I just want to send manually an email from my email(the one from certificate whi...
Norvan asked 14/4, 2020 at 8:52

3

Solved

Imagine the following GraphQL request: { books( first:10, filter: [{field: TITLE, contains: "Potter"}], orderBy: [{sort: PRICE, direction: DESC}, {sort: TITLE}] ) } The result will return a...
Inexistent asked 20/8, 2018 at 9:7

0

I'm following the example of getting started using relay with typescript(https://relay.dev/docs/en/quick-start-guide) and it inititlly works as expected. I am trying to modify my schema to include ...
Bloomfield asked 10/8, 2020 at 12:53

3

How to receive the native Model ID that stored in the DB (eg. django model ID) when we are executing the Relay query? The main issue that the Relay defines it's own ID so I'm not sure how can we c...
Blanketing asked 3/2, 2020 at 13:12

2

I'm somewhat new to GraphQL, so, still piecing all moving parts together in my head. On my server side I'm using TypeGraphQL which uses class-validator to perform validation of the queries coming i...
Immobility asked 25/6, 2020 at 5:54

3

I started to use graphQl with react relay. And I followed some tutorials and I can able to get and post with the help of mutations and queries. Everything works fine but my question here is, Whe...
Tetrastichous asked 31/1, 2018 at 20:20

2

Problem I am using django-graphene with Relay on our GraphQL Server. The implementation imposes a Global ID requirement in the graphene.relay.Node class that overrides and hides Django's ID field....
Epley asked 23/1, 2019 at 13:43

1

Solved

The good practice for relations in GraphQL is using the connection model with edge and node elements. The recommendation is also for both edge and node to be nullable. This is how e.g. graphene-sql...
Varsity asked 12/9, 2019 at 7:24

1

I'm working on the application that uses GraphQL. I'm using urql GraphQL client and really like it so far. What are the advantages of using Apollo/Relay over urlql?
Foretoken asked 17/7, 2019 at 22:59

1

Solved

Trying out relay with react and ran into this today. Here is what I've done so far. Root Query: query { tasks { id taskName taskStatus userId } } React component hierarchy App ↳--TaskL...
Gentlefolk asked 22/4, 2019 at 16:25

0

My application looks something like what's included in the snippets below. (I've left out a lot of the implementation details in the hopes that the code below is sufficient to get my question acro...
Swearword asked 27/2, 2019 at 22:19

1

I currently have a GraphQL API that uses connection based pagination as defined in https://graphql.org/learn/pagination/ which is what the Relay client uses. I have looked at ra-data-graphql-simpl...
Wessels asked 26/9, 2018 at 6:8

2

Solved

The Goal: I'm trying to query a specific character from a GraphQL server with relay. The Problem: The query works in GraphiQL. But here, when running "relay-compiler": "^1.4.1" I'm getting... ...
Brilliant asked 24/11, 2017 at 23:9

2

Solved

I'm using GraphQL + Relay in my app and find myself wrapping almost every component with createFragmentContainer, including those very low in the DOM hierarchy (usually functional components). Is...
Lishalishe asked 30/10, 2018 at 22:56

1

Solved

I saw clientMutationId field in example-strong-typing documentation. mutation { addComment(input:{clientMutationId: 1234, subjectId: "MDA6SXNzdWUyMjcyMDA2MTT=", body: "Looks good to...
Viscosity asked 12/7, 2018 at 10:40

2

Solved

I am very new in both Apollo Stack and Relay. I am trying to choose between them to invest my time. After finish reading the book Learning GraphQL and Relay, I turned to Apollo to learn what it has...
Stovall asked 4/12, 2016 at 7:58

2

Solved

Let's say I am a user and I am editing my profile on some arbitrary app. The app let's me make a bunch of changes, and when I'm done, I click on "Save" and my profile gets updated. What is the rec...
Euphony asked 27/5, 2017 at 6:5

1

Solved

I am using the relay compiler and it is not letting me compile a schema with a type that implements multiple interfaces. I made a small test project: package.json { "scripts": { "relay": "relay...
Gyro asked 27/3, 2018 at 20:6

1

Solved

I'm trying to add a user using relay , below is my schema file schema.graphql createUser(input: CreateUserInput!): UserPayload input CreateUserInput { clientMutationId: String data: Crea...
Britneybritni asked 14/3, 2018 at 14:50

© 2022 - 2024 — McMap. All rights reserved.