graphql strawberry shake console app sample

My sample code for using strawberry shake to connect to a graphql service

https://github.com/mitzenjeremywoo/graphl-client-strawberry-shake

Some important things to note: 

- graphqlrc.json 

- schema.graphql

- schema.extensions.graphql 

- *.graphql - In the example, the filename is not important but having GetSession query in important as the code make use of the field return in the query. 

As shown in the example here





query GetSessions {
sessions(order: { title: ASC }) {
nodes {
title
abstract
duration
}
}
}



Comments

Popular posts from this blog

The specified initialization vector (IV) does not match the block size for this algorithm

NodeJS: Error: spawn EINVAL in window for node version 20.20 and 18.20