0 I have Autodesk Construction Cloud Subscribed account, But still I’m unable to get all hubs using graphQL Query. I am getting the fusion 360 hubs but not ACC hubs. Is there any other way to get all hubs from ACC account? I have tried following query to get all the hubs of ACC. query […]
1 I am currently building an AppSync API and after doing some research into how to load four different fields with two data sources (two fields per data source) I came across this question. The response to this question seems to do a great job explaining the use of data loaders and using mostly field […]
4 I’m trying to initialize an instance of DataLoader using the following code: const authorLoader = new DataLoader(async (keys:string[]) => { // Return an author for each book }); I’m getting the following error: Argument of type ‘(keys: string[]) => Promise<Author[]>’ is not assignable to parameter of type ‘BatchLoadFn<string, Author>’. Types of parameters ‘keys’ and […]
0 I’m using Nest.js + GraphQl + Prisma, and trying to create 3 tables: User, Post, and Viewers When getting 1 post I need to add the user as viewer. Successfully saving it to the db but when returning the relationship, viewers is constantly null Here’s my prisma schema: model User { id Int @id […]
0 Question When making the Apollo Gateway leveraging the NestJS GraphQL Module, how can you save the schema file? Background Normally with NestJS GraphQL support you can save the schema file with something like this. GraphQLModule.forRoot<ApolloFederationDriverConfig>({ driver: ApolloFederationDriver, autoSchemaFile: { path: join(process.cwd(), ‘./schema.gql’), federation: 2 }, playground: true }), However, it seems like for the […]
-1 I am started using apollo and graphl, If anyone used apollo/client with nestjs let me know, how to use it. if i have to query the pubic spaceX graph https://studio.apollographql.com/public/SpaceX-pxxbxen/variant/current/explorer graphql nestjs Share Improve this question Follow asked 1 hour ago Krish909Krish909 6722 silver badges1212 bronze badges Add a comment | Load 4 more […]
0 What is the best practice for keeping subscriptions in sync with your query schemas? My previous exposure to graphQL subscriptions was from Hasura, which would implement subscriptions for every table such that when a subscribing is made, the current set would be sent over the wire (followed by any updates). const data = useSubscription(…) […]
0 I’m using AWS Amplify API with GraphQL in my Flutter app and I have defined a GraphQL schema with the following access rules: Any user, authenticated or not, can read all UserProfiles. Only the owner can create, read, update, and delete their own UserProfile. I am authenticating users with amplify_auth_cognito using Email. This is […]