Logo video2dn
  • Сохранить видео с ютуба
  • Категории
    • Музыка
    • Кино и Анимация
    • Автомобили
    • Животные
    • Спорт
    • Путешествия
    • Игры
    • Люди и Блоги
    • Юмор
    • Развлечения
    • Новости и Политика
    • Howto и Стиль
    • Diy своими руками
    • Образование
    • Наука и Технологии
    • Некоммерческие Организации
  • О сайте

Скачать или смотреть What is a GraphQL Schema? | what is resolver in graphql | Part-3 | Anuj Singla #3

  • Anuj Singla
  • 2024-12-18
  • 182
What is a GraphQL Schema? | what is resolver in graphql | Part-3 | Anuj Singla #3
anuj singlareactjavascriptremix.runfrontendweb developerhtmlcssfull frontend coursefrontend tutorialanujsinglaopen sourcehindi
  • ok logo

Скачать What is a GraphQL Schema? | what is resolver in graphql | Part-3 | Anuj Singla #3 бесплатно в качестве 4к (2к / 1080p)

У нас вы можете скачать бесплатно What is a GraphQL Schema? | what is resolver in graphql | Part-3 | Anuj Singla #3 или посмотреть видео с ютуба в максимальном доступном качестве.

Для скачивания выберите вариант из формы ниже:

  • Информация по загрузке:

Cкачать музыку What is a GraphQL Schema? | what is resolver in graphql | Part-3 | Anuj Singla #3 бесплатно в формате MP3:

Если иконки загрузки не отобразились, ПОЖАЛУЙСТА, НАЖМИТЕ ЗДЕСЬ или обновите страницу
Если у вас возникли трудности с загрузкой, пожалуйста, свяжитесь с нами по контактам, указанным в нижней части страницы.
Спасибо за использование сервиса video2dn.com

Описание к видео What is a GraphQL Schema? | what is resolver in graphql | Part-3 | Anuj Singla #3

What is a GraphQL Schema? | what is resolver in graphql | Part-3 | Anuj Singla #3

⏰ Timecodes ⏰
0:00 Introduction
0:57 What is Schema in GraphQL?
05:07 What is a Resolver in GraphQL?
08:47 Practical example

GitHub Link: https://github.com/anujsingla/GraphQL...
PPT - https://docs.google.com/presentation/...

What is Schema in GraphQL?

It tells you the structure of your data in a GraphQL API.
It is like a contract between the client (frontend) and the server (backend) to ensure consistent communication.

It defines:

What data is available.
The relationships between data.
How clients can interact with the data.
It ensures you ask for what you need and get just that—nothing more, nothing less.

For Example:

The schema is like a menu in a restaurant:
It lists what’s available (types of data).
Specifies the details for each dish (fields).
Ensures that customers (clients) know exactly what they can order.

There are 2 things in the Schema:
Query
A Query is used to fetch data from the server. It’s like asking a question about the data you want.
It is readonly and retrieving data and don’t change anything on the server.
Example: "What is the name of the user with ID 123?"

Mutation
A Mutation is used to modify data on the server. It’s like sending a command to add, update, or delete something.
It is used for creating, updating, or deleting data.

Example: "Add a new user with the name 'ABCD'."

What is a Resolver in GraphQL?
It is a function that fetches data for a specific field in a GraphQL schema.
It is used to fetch data from the actual data source (like a database, API, or static file).

How Does a Resolver Work?
When a client sends a query, the GraphQL server checks the schema to validate the query.
The server then calls the corresponding resolver for each field in the query to fetch the required data.

Types of Resolvers
Query Resolvers: Fetch data for queries. Example: Get a list of users.
Mutation Resolvers: Handle changes to the data (create, update, delete). Example: Add a new user.
Field Resolvers: Resolve specific fields within a type. Example: Compute a fullName from firstName and lastName.

Example:
Think of a Resolver as a chef in a restaurant:
The schema is the menu (defines what’s available).
The query is your order (what you want).
The resolver is the chef who prepares the dish by fetching ingredients (data) and presenting it.


Support my channel:
https://www.buymeacoffee.com/anujsingla

(Free Courses)
React course :- https://bit.ly/3qXnSYU
Javascript course :- https://bit.ly/3qYCG9u
Typescript course :- https://bit.ly/3qY9Fe6
Frontend Interview Questions and Answer -    • Frontend Interview Questions and Answer  
HTML Tutorial for Beginners to advance -    • HTML Tutorial for Beginners to advance  
NPM -    • NPM  
Remix run React framework Tutorial in Hindi -    • Remix run React framework Tutorial in Hindi  

(Social Media Links)
Twitter :   / singla387  
Facebook page : https://bit.ly/3nZlyyx
Telegram : https://bit.ly/3nX2v8f
LinkedIn : https://bit.ly/3rIMt2A



About Me:-
I am Anuj Singla, and working as a Principal Software Engineer at Redhat. At Redhat, I spend most of my days writing code. I am working on different technologies like React, Angular, JavaScript, NodeJs, and Typescript. I want to teach web development to everybody. I am also handling meetup events for Remix India Online - https://www.meetup.com/remix-india-on...

Tags :-
#framework #react #anujsingla #typescript #hindi #html #css #graphql

Комментарии

Информация по комментариям в разработке

Похожие видео

  • О нас
  • Контакты
  • Отказ от ответственности - Disclaimer
  • Условия использования сайта - TOS
  • Политика конфиденциальности

video2dn Copyright © 2023 - 2025

Контакты для правообладателей [email protected]