0 I am planning on using prisma for building the database and migrations, I am not going to use prisma client as there are some limitations I am hitting since prisma does not use native joins. I also want to use nexus prisma to auto generate types for my graphql api. However, I see that […]
0 I am really struggling to get any data returned from a GraphQL Query in Maui. I had the code in the initializer of the Page and was hitting Deadlocks. I get that now. So I have move the code to a button on a page. It is hanging on the line below the Task […]
0 I’m currently facing a challenge with React Native related to file uploads. I’m working with a WordPress backend that uses GraphQL, and for file uploading, I’m relying on the wp-graphql-upload plugin available on GitHub. This plugin requires the submission of actual file objects, but React Native inherently doesn’t support direct file submissions – it […]
0 I’m going through a graphql & node tutorial and I’m trying to do a bit of code splitting on the various aspects of the repo, splitting the Types, mock data and schema out into their own respective directories. It seems that the schema and the mock data are playing ball, but the types are […]
0 I implement the data loader return object. so I need to put this object in another data loader child . can you help me to understand how to propagate data from the parent to child data loader ? graphql netflix-dgs Share Improve this question Follow asked 56 mins ago BRAIEK AYEMNBRAIEK AYEMN 8911 silver […]
-1 In my project I have some .gql files: src/components/mycomponent/MyComponent.gql import { gql } from ‘@apollo/client’; export default gql` query MyQuery { myQuery { test } } ` In my VS Code settings file I added: // .vscode/settings.json { "eslint.validate": [ "javascript", "javascriptreact", "astro", "typescript", "typescriptreact", "gql" ], // rest of the config } In […]
7 I’m using the newer version of apollo server V4, I need assistance on how to upload images or videos from Frontend to cloudinary and save the url to MongoDB database… please help 🙏 I have read through Apollo docs but there are no answers there… I’m kind of stuck now reactjs express graphql apollo-server […]
-1 I am trying to setup GraphQL Code Generator. But I get this error: gql-gen –config codegen.ts ✔ Parse Configuration ⚠ Generate outputs ❯ Generate to src/graphql/generated/schema.ts ✔ Load GraphQL schemas ✔ Load GraphQL documents ✖ Unable to load template plugin matching ‘typescript-common’. Reason: Body must be a string. Received: undefined. ELIFECYCLE Command failed with […]
0 I’m working on a graphql server and there is one subscription API. This is the starter code I found on gqlgen documentation: // CurrentTime is the resolver for the currentTime field. func (r *subscriptionResolver) CurrentTime(ctx context.Context) (<-chan *model.Time, error) { // First you’ll need to `make()` your channel. Use your type here! ch := […]