GraphQL w/ Laravel & Vue - Vue Apollo Mutations - Part 4

  Рет қаралды 4,664

Andre Madarang

Andre Madarang

Күн бұрын

Пікірлер: 13
@mauricemarteau6790
@mauricemarteau6790 5 жыл бұрын
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!!!
@imarveldesignsolutions9428
@imarveldesignsolutions9428 5 жыл бұрын
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
@rosalialive6569
@rosalialive6569 4 жыл бұрын
have your found a solution for upload files ?
@qingma4117
@qingma4117 4 жыл бұрын
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!
@imarveldesignsolutions9428
@imarveldesignsolutions9428 5 жыл бұрын
How would you mutate with input type with the @update directive?
@imarveldesignsolutions9428
@imarveldesignsolutions9428 5 жыл бұрын
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.
@imarveldesignsolutions9428
@imarveldesignsolutions9428 5 жыл бұрын
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?
@nadiefuego
@nadiefuego 6 жыл бұрын
Saludos. Me falta tiempo para poner en practica el curso. Gracias por otro capitulo mas del curso.
@jhoanborges6574
@jhoanborges6574 6 жыл бұрын
somos dos.
@jhoanborges6574
@jhoanborges6574 6 жыл бұрын
Men you're a fucking genius. check your inbox master
@SocheatSok78
@SocheatSok78 5 жыл бұрын
Book/create oops! Undo undo 😁
GraphQL w/ Laravel & Vue - Tailwind CSS Styling - Part 5
46:03
Andre Madarang
Рет қаралды 3,2 М.
Tanstack Table for Vue.js
45:27
Andre Madarang
Рет қаралды 17 М.
To Brawl AND BEYOND!
00:51
Brawl Stars
Рет қаралды 17 МЛН
Chain Game Strong ⛓️
00:21
Anwar Jibawi
Рет қаралды 41 МЛН
Quando eu quero Sushi (sem desperdiçar) 🍣
00:26
Los Wagners
Рет қаралды 15 МЛН
My top 10 Open Source Apps
21:08
Linux Ort
Рет қаралды 1,5 М.
Vue v-model in child components and defineModel
17:30
Andre Madarang
Рет қаралды 10 М.
NativePHP - Desktop Apps with Laravel
42:40
Andre Madarang
Рет қаралды 45 М.
Vite - Build Tool
14:03
Andre Madarang
Рет қаралды 54 М.
Inertia.js v2.0 - New Features
31:05
Andre Madarang
Рет қаралды 7 М.
Tiptap Editor with Vue.js, Tailwind CSS and Laravel
58:11
Andre Madarang
Рет қаралды 18 М.
Phone Number Formatting in Laravel and Vue
18:33
Andre Madarang
Рет қаралды 4,1 М.
Container Queries in CSS - Practical Examples
10:28
Andre Madarang
Рет қаралды 4,9 М.
Blueprint - Laravel Code Generation tool
16:23
Andre Madarang
Рет қаралды 42 М.
To Brawl AND BEYOND!
00:51
Brawl Stars
Рет қаралды 17 МЛН