Tag: graphql
-
How can we make sure that data being fetched in one dataFetcher being available in other dataFetcher in a grapghQL java project
0 I am very new to GraphQL. Below is my init method in my Resolver public void init() { builder.type("SystemTopic", typeWiring -> typeWiring .dataFetcher("items", this::itemsConnection).dataFetcher("payloads", this::getPayloads)); } I need the data fetched in items in fetcher in payloads fetcher. The seconds fetcher payloads execution starts before items done its job. So, some required data is…
-
Using await useAsyncQuery() is returning null in the browser but shows the data value in terminal when console.log(data.value)
0 I’m using Nuxt 3 and fetching data from Strapi with Apollo and graphQL. I have used this similar setup with Prepr in the past with no issues. My GraphQL query is correct and it is returning data but the problem is in the timing. here’s the code I’m using in my page in Nuxt…
-
GraphQL Java Developer – TUPPL Technology Inc – Remote
TUPPL Technology Inc Remote $60,000 – $65 Accepts corp to corp applications, Contract: W2 Skills GraphQL API Java SOFTWARE DEVELOPER Job Description SOFTWARE DEVELOPER- GRAPHQL Job Description: 1. 7+ years of experience in enterprise software engineering leadership roles at leading-edgecompanies2. BS in Computer Science, Electrical Engineering, Information Systems, or a similar field required3. Experience with…
-
why polling of Apollo useQuery don’t call onCompleted?
1 I am playing around the code: https://codesandbox.io/s/restless-framework-uldf4q?file=/src/App.js import React, { Fragment } from "react"; import { gql } from "apollo-boost"; import { useQuery } from "@apollo/react-hooks"; const GET_DOG_PHOTO = gql` query Dog($breed: String!) { dog(breed: $breed) { id displayImage } } `; const breed = "dingo"; const App = () => { const [count,…
-
Correct way to request publications
0 So I am currently trying to get all publication channels I can publish products at and am a bit confused… The channels query is depricated: https://shopify.dev/docs/api/admin-graphql/2023-07/queries/channels The publications query should be fine as of the documentation: https://shopify.dev/docs/api/admin-graphql/2023-07/queries/publications But if I exec the query, i get a deprication error: // Query: query publications { publications(first:…
-
Lead Java Fullstack Developer with GraphQL Expereince – K Source Inc – Remote
K Source Inc Remote Depends on Experience Contract: Independent, W2, 12 Month(s) Skills Java GraphQL Job Description Hi , This is Sagar from KSource Inc. We have an excellent job opportunity for you below is the JD please have a look. Job Title: Lead Software Engineer – Java/GraphQL Location: Remote Duration: 12+ months…
-
Laravel Rebing GraphQL – Pagination on sub relation
0 I’m trying to paginate the relations through a parent pivot. A user has topics and a topic can have multiple users. Multiple users can be the owner of a topic. A topic has messages. class Topic extends Model { //Casts Fillables etc. public function user(): BelongsToMany { return $this->belongsToMany(User::class, ‘topic_users’, ‘topic_uuid’, ‘user_uuid’) ->withPivot([ ‘uuid’,…
-
GraphQL query header with variable not setting on first render
0 I am using graphQL in react native project. I am passing headers (cookie/authorization) in context object of query, in useMutation or useQuery. [Problem is only on iOS App] The basic system of the app is user signup the profile, and verify, on initial signup the property finishedAccountSetup: false is false. so when they log…
-
Github GraphQL API Get all commits of a User
1 I’m trying to use the GitHub GraphQL API to get all the additions made by a user (additions can be found from their commits). I’ve been able to get the additions from pull requests, but I haven’t found a way to do the same for commits. How can I get all the commits from…
-
testing react form using GraphQl & apollo client at Storybook
0 I have a React Form Component using Graphql & Apollo. I am trying to test this Form at Storybook but I got the following error message : Error: Cannot destructure property ‘MockedProvider’ of ‘context.parameters[PARAM_KEY]’ as it is undefined. here is my Preveiw.ts file content: import type { Preview } from "@storybook/react"; import { MockedProvider…