NestJS-இல் @nestjs/graphql (Apollo Server மீது கட்டப்பட்டது) மூலம் முதல்-தர GraphQL ஆதரவு உள்ளது. இது ஒரு code-first அணுகுமுறையை வழங்குகிறது (TypeScript classes மற்றும் decorators மூலம் உங்கள் schema-ஐ வரையறுக்கவும், schema தானாக உருவாக்கப்படுகிறது) — idiomatic NestJS வழி — framework-இன் decorator/DI model-க்கு பொருந்துகிறது.
GraphQL அமைத்தல் (code-first)
({
: [
.<>({
: ,
: ,
: ,
}),
],
})
{}
