GraphQL 스키마 빌더
GraphQL 스키마를 시각적으로 빌드합니다. 필드가 있는 타입을 정의하고, 쿼리와 뮤테이션을 만들고, SDL을 내보냅니다.
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