Hi, what would you recommend to implement the upload files, it would be nice a tutorial on that, using vue apollo and graphql lighthouse. Thanks!!!
@imarveldesignsolutions94285 жыл бұрын
I would second that. I am trying to do the upload file process, and I am just getting "Return value of Nuwave\Lighthouse\Execution\BaseRequest::query() must be of the type string, null returned". Would really appreciate some advice. Thanks
@rosalialive65694 жыл бұрын
have your found a solution for upload files ?
@qingma41174 жыл бұрын
Hi, Andre. We can just uncomment the fetchPolicy and use 'cache-and-network'. It will still cache, but update when network changed. Loved all your series. Thanks a lot!
@imarveldesignsolutions94285 жыл бұрын
How would you mutate with input type with the @update directive?
@imarveldesignsolutions94285 жыл бұрын
Sorry... Meant: How do you mutate multiple models with the update directive. I have a user model and a profile model. The input type has all the information, but I can not seem to get it to mutate the user model unless I add the name and email field instead of the input type. Thanks for your help in advanced.
@imarveldesignsolutions94285 жыл бұрын
Hi. I figured out how to fix the above. I just did a custom resolver and that did the trick. However, I am coming up with another issue. I am using Input types, and I have the below inside the users input type: email: String! @rules(apply: ["required", "email", "unique:users,email"]). Works great for creating a user, but kicking up and error message when I try and update: {validation: {input.email: ["The input.email has already been taken."]}, category: "validation"}. I know how to do it with basic Laravel, but how do I pass a user id in the Input type? Hope that makes sense?
@nadiefuego6 жыл бұрын
Saludos. Me falta tiempo para poner en practica el curso. Gracias por otro capitulo mas del curso.
@jhoanborges65746 жыл бұрын
somos dos.
@jhoanborges65746 жыл бұрын
Men you're a fucking genius. check your inbox master