Tag: graphql
-
Fullstack GraphQL Vienna
Actions Panel Learn to build modern APIs like Facebook and Netflix in our Fullstack GraphQL workshop. By ChilliCream IncFollow Date and time November 6 · 12am – November 7 · 8am PST Location Online Refund Policy Contact the organizer to request a refund.Eventbrite's fee is nonrefundable. Agenda Day 1Day 2 9:00 AM – 10:30 AM…
-
Material UI Sortable Table not working: Error
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…
-
Graphql Subscriptions field must return Async Iterable. Received: { pubsub
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";…
-
GraphQL with Spring Boot Security returning 403
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…
-
OrchardCore 1.7.2 workflow with Angular
0 I am using angular and orchard 1.7.2 I have some issue connecting the workflow with Angular I tried every thing and end up with create forms dynamically using GraphQL WorkFlow Http Request Event Contact Message Angular Form Role permissions Angular import { HttpClient, HttpErrorResponse } from ‘@angular/common/http’; import { Component, OnInit } from ‘@angular/core’;…
-
Nuxt3 config for GraphQL queries using separate *.gql files
0 When searching for tutorials on how to perform GraphQL queries in Nuxt 3, I noticed that the query itself is always inside the component where it should be used. Wouldn’t it be much cleaner to store the queries in separate .gql files and use them in components? So far, I haven’t found a corresponding…
-
How to design the workflow with Strapi / GraphQL / Nuxt 3 without Introspection
0 Sorry for the silly question, I’m new to all this and this is my last resort… I haven’t received any answers on Discords and the like. I want to set up a Strapi CMS with GraphQL for a Nuxt 3 frontend. I’ve successfully hosted this on DigitalOcean – the connection is established correctly and…
-
AWS Amplify: The variables input contains a field name that is not defined for input object type
6 I dont understad what happen here. This is my schema: type MonthResume @model @auth(rules: [{allow: owner, identityClaim: "sub"}]){ id: ID! incomes: Float! spendingByCategory: [Category] } type Category @model @auth(rules: [{allow: owner, identityClaim: "sub"}]){ id: ID! name: String! amount: Float! } This is the autogenerated update mutation that Amplify gives to me: export const updateMonthResume…
-
Totara GraphQL API Add New Query
0 I’m trying to add a new query to the Totara External GraphQL API available on Totara v17. Following the docs I’ve created the following structure: local/plugin/webapi/external/get_completions.graphql query local_plugin_get_completions{ local_plugin_get_completions{ id } } local/plugin/webapi/external/schema.graphqls extend type Query { local_plugin_get_completions: [local_plugin_get_completions!]! } type local_plugin_get_completions{ id: core_id, } local/plugin/classes/webapi/resolver/query class get_completions extends corewebapiquery_resolver { public static function…
-
How to update query on route change using Vue and Urql
0 I’m trying to find a way to update my query when the route changes (same component). The query is being selected using route meta data. Between Vue router’s navigation guards, hooks, watching for changes, etc, and Urqls "useQuery," I can’t figure out how to structure it to give me new data when the route…