Posts by Dup • 164 points
7 posts
-
0
votes1
answer80
viewsA: Mutation to create a relationship record
Solved the problem: In my mutation.js needed to disconnect the User with Pessoa for mine datamodel.prisma wasn’t modeled to make that call. After that, I had to put the note create after endereco…
-
3
votes1
answer85
viewsA: How to create an application in Vue?
Well, let’s start from the beginning. NPM First you install NPM if you haven’t already: https://www.npmjs.com/get-npm VUE With NPM installed on the machine, follow these steps:…
-
0
votes1
answer80
viewsQ: Mutation to create a relationship record
Ambience: Prisma GraphQL GraphQL Yoga NodeJS PostGresql I’m trying to make a mutation register a person and an address for that person. However Person and Address are separate tables, and I’m not…
-
3
votes2
answers160
viewsA: Directives
Edit01 If I understand what you need, we have this in the Vuejs documentation https://br.vuejs.org/v2/guide/custom-directive.html It would be something like this: <div v-arthur="{ color: 'green',…
-
3
votes2
answers3143
viewsQ: .antMatchers(). permitAll() does not seem to work
Edit02 Habilitei spring-security in my project, and now every API needs authentication, perfect was what I needed. But I want only one API not to need authentication. I tried to use…
-
2
votes2
answers3730
viewsQ: CORS: Response to preflight request doesn’t pass access control check: It does not have HTTP ok status
I can get the TOKEN of my application by using Postman as follows. This works perfectly, and return me the Token. However when I try to make the same request, using Axios, in my application with…
-
2
votes1
answer313
viewsQ: Lazy Load in Hibernate
I’m not getting Lazy Load to work in Spring. I have the following structure. //Livro.Java @Entity public class Livro { @JsonInclude(Include.NON_NULL) @Id @GeneratedValue(strategy =…