3 ms·
First real autocomplete for GraphQL queries in both JS in browser and NodeJS and TS. Generate library using zeus command: $ zeus https://faker.graphqleditor.c
by aexol 7y ago
First real autocomplete for GraphQL queries in both JS in browser and NodeJS and TS.
Generate library using zeus command:
$ zeus https://faker.graphqleditor.com/aexol/olympus/graphql https://faker.graphqleditor.com/aexol/olympus/graphql ./generated
And use it like this
let DionysusCard = await Api(
'https://faker.graphqleditor.com/aexol/olympus/graphql'
).Mutation.addCard({
card: {
name: 'Dionysus',
description:
'Dionysus is the Greek god of wine, has the power to bring the dead back to life.',
Attack: 1,
Defense: 15,
Children: 9
}
})({
id: true,
name: true
});