Tag: graphql
-
NestJS + Graphql generate type file into the source shcme folder, not src directionary
0 I use NestJS with Graphql, and want to genrate type file with the schema. generate type code import { GraphQLDefinitionsFactory } from ‘@nestjs/graphql’; import { join } from ‘path’; const definitionsFactory = new GraphQLDefinitionsFactory(); definitionsFactory.generate({ typePaths: [‘./src/**/*.graphql’], path: join(process.cwd(), ‘src/**/*.ts’), outputAs: ‘class’, watch: true, emitTypenameField: true, }); above code generate graphql.ts, but i want…
-
React with A11y(accessibility) Developer – eTeam, Inc. – Irving, TX
eTeam, Inc. Irving, TX Depends on Experience Contract: W2, Independent Work from home Skills GraphQL Javascript Node . js React js Redux Unit tests Webpack front – end development accessibility Job Description Job Title: React/Front-end Developer Location: Irving TX, OR Atlanta GA, OR Minneapolis (Hybrid) Mode: Contract – C2C / W2 Perform front-end development using…
-
Can Function Middleware and HotChocolate Middleware be used together?
0 Is it possible to use Function Middlewares and Hot Chocolate Middlewares to be used together when using Azure Functions in an isolated-process? For example: Consider Authentication middleware that is defined at a Function level via IFunctionWorkerMiddleware. When the function is triggered, the Authentication Middleware is triggered and if authentication succeeds, then passes the control…
-
GraphQL field level authorization and nullability
2 We’ve implemented field level authorization in the type resolvers of our server, where a field is only returned with a value if the user has access to it, otherwise "null" is returned (with information in the extensions). The reason why we are not just returning an error (with an empty data response) is that…
-
How to generate the GraphQL client for a secured GraphQL API?
0 How can I generate the auth parameter using the bal graphql command? When I run bal graphql –help, I don’t see any options. Do I need to manually modify the generated code? I have generated the GraphQL client using the latest version of Ballerina and it creates a record named public type ConnectionConfig record.…
-
How to declare Array Of Objects in TypeORM Graphql Schema?
0 I am working with 2 Postgres Models – users and posts, where each user can have multiple posts (One to Many Relation). Here I need to make a user profile function to access data of single user along with the associated posts. I have made the following schema.ts file for the same – import…
-
AWS amplify graphql appsync – do not return deleted items?
9 I am using AWS amplify with graphql and appsync. When I do a standard list query, appsync includes deleted items in the list of items it returns. What can I do to make it return only items that are not deleted? I tried this query, but it throws an error: query MyQuery($filter: ModelFrameFilterInput =…
-
Best framework / language to create a backend service with user auth, service and GraphQL
0 I’m looking for advice on which backend language & framework to pick to implement user auth and GraphQL w/ custom business logic. I’ve built it in the past using Node.JS and manually setting up auth and SMS w/ Twilio, but I’m wondering whether there’s a faster way to do it these days (this was…
-
How to implement Shopify’s new ProductFilter on the latest storefront API
0 I have been trying to follow this guide with examples step-by-step, but when I run the following query, Shopify returns every product from the collection instead of the filtered products. I have confirmed that I have the variant options on my products, it just appears to not apply the logic. Appreciate your time 🙏…