Skip to main content
DevTools24

GraphQL स्कीमा टूल

GraphQL स्कीमा बनाएं।

Types

type
:
:
:

Queries

:
:

Mutations

type User {
  id: ID!
  name: String!
  email: String!
}

type Query {
  users: [User]!
  user(id: ID!): User
}

GraphQL Schema Definition - तकनीकी विवरण

GraphQL schemas define the types and operations available in your API. The Schema Definition Language (SDL) is a human-readable format for describing GraphQL schemas.

कमांड-लाइन विकल्प

# Validate GraphQL schema\nnpx graphql-inspector validate schema.graphql\n\n# Generate types from schema\nnpx graphql-codegen

संदर्भ

आधिकारिक स्पेसिफिकेशन देखें