0.5.0-alpha.4 • Published 7 years ago
girin-typelinker v0.5.0-alpha.4
Girin: GraphQL framework
Girin is a GraphQL framework written in TypeScript.
- Seamless integration between GraphQL SDL and TypeScript classes
- Modularization of GraphQL type definitions
- Documentation: https://hanpama.github.io/girin
@Definition(gql`
type Member {
id: Int!
name: String!
email: String!
friend: Member
}
`)
class Member {
id: number;
name: string;
email: string;
private friendId: number;
friend() {
return members.find(m => m.id === this.friendId);
}
}
Installation
npm install girin graphql
Examples
Todolist App
Working example of simple todolist
Starwars Schema
0.5.0-alpha.4
7 years ago
0.5.0-alpha.2
7 years ago