| name | graphql-fundamentals |
| description | Master GraphQL core concepts - types, queries, mutations, and subscriptions |
| sasmp_version | 1.3.0 |
| bonded_agent | 01-graphql-fundamentals |
| bond_type | PRIMARY_BOND |
| version | 2.0.0 |
| complexity | beginner |
| estimated_time | 2-4 hours |
| prerequisites | [] |
GraphQL Fundamentals Skill
Master the building blocks of GraphQL APIs
Overview
This skill covers the essential GraphQL concepts every developer needs. From type definitions to query operations, you'll learn the foundation for building GraphQL APIs.
Quick Reference
| Concept | Syntax | Example |
|---|
| Scalar | String, Int, Float, Boolean, ID | name: String! |
| Object | type Name { fields } | type User { id: ID! } |
| Input | input Name { fields } | input CreateUserInput { name: String! } |
| Enum | enum Name { VALUES } | enum Status { ACTIVE INACTIVE } |
| List | [Type] or [Type!]! | tags: [String!]! |
| Non-null | Type! | id: ID! |
Core Concepts
1. Type System
type Example {
id: ID!
name: String!
age: Int
score: Float!
active: Boolean
DateTime
JSON
Upload
User
ID
String
Profile
Post
Profile
String
String
UserRole
ADMIN
EDITOR
VIEWER
CreateUserInput
String
String
UserRole VIEWER
Node
ID
User implements Node
ID
String
SearchResult User Post Comment