0 As the title suggests, I would like to use a GraphQL DataSource in my jasper report server to create reports with the RESTv2 services made available by the server itself. I can’t find any documentation or tutorials of any kind on how to configure this GraphQL DataSource. On jaspersoft.com there is only this written […]
0 I use Prisma, apollo-graphql, and Mongoose to create chat applications but I have this problem, MongoDB gets only _id when I try to create a chat. Prisma Schema: generator client { provider = "prisma-client-js" } datasource db { provider = "mongodb" url = env("DATABASE_URL") } model User { id String @id @default(auto()) @map("_id") @db.ObjectId […]
-1 I have a FastAPI app with Strawberry for GraphQL. This is a minimal, workable example: main.py: import strawberry from fastapi import FastAPI from strawberry.fastapi import GraphQLRouter @strawberry.type class User: name: str age: int @strawberry.type class Query: @strawberry.field def user(self) -> User: return User(name="Patrick", age=100) schema = strawberry.Schema(query=Query) graphql_app = GraphQLRouter(schema) app = FastAPI() app.include_router(graphql_app, […]
0 I am trying to run the node server by ts-node-dev and restart on any any changes in specific files. It is restarting on any changes made to ts,js files however, it is not restarting on changes to graphql files. Any suggestions? "scripts": { "start": "tsnd –transpile-only –rs ./src/microservices/index.ts –watch–extionsions ts,js,graphql" } node.js graphql ts-node […]
0 Im working on a simple coding challenge that needs to createe a graphql application and save some objects (team,players,competitions and coach). I´ve never used graphql before so iim relying on sove tutorials on the web like: https://www.bezkoder.com/spring-boot-graphql-mysql-jpa/ and https://medium.com/@memredemir/creating-a-graphql-mysql-and-spring-boot-backend-service-32cec95f4436. For some reason i cant acces the backend for debug: This is my schema wiith […]
0 I’ve been following the Sorting & selecting section of this component. Worked great with fake data but now I’m trying to pass my real object through I’m getting an error I’m struggling to figure out (NB: I’m new to react / typescript). The Error: Argument of type ‘EventAudit[]’ is not assignable to parameter of […]
0 I’m trying go use subscriptions in graphql, but I’m receiving this weird error: subscription { notification { type message } } I’m using import { PubSub } from "graphql-subscriptions"; import { Inject } from "@nestjs/common"; import { Resolver, Subscription } from "@nestjs/graphql"; import { PubSub } from "graphql-subscriptions"; import { Notification } from "./models/notification"; […]
0 I have been trying to implement GraphAPI methods authorization. But, always get 403. Environment: JDK 17 Spring Boot 3.1.5 MongoDB Spring Security Graph QL OS: MacOS JDK 17 My application file looks like: import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; import org.springframework.boot.autoconfigure.security.servlet.SecurityAutoConfiguration; import org.springframework.boot.autoconfigure.security.servlet.UserDetailsServiceAutoConfiguration; import org.springframework.context.annotation.EnableAspectJAutoProxy; @SpringBootApplication(exclude = {SecurityAutoConfiguration.class, UserDetailsServiceAutoConfiguration.class}) @EnableAspectJAutoProxy public class JoblobApplication { public static […]