trajanus
It looks like just what I need but wanted to solicit any impressions or tips from those who have already used it.
Hi
Just published graphql api generator for mongodb (that can be extended with your own queries/mutations). https://github.com/coolemur/graphql-api-generator . It takes simple json schema object definition (custom) and generates API CRUD (with search, find, sort, take, skip)
Check it out
It's just a beginning, but I will try to add more features later
Hi,
Im new to graphQL and Im inserting an entry something like this-
def insertFibEntry(self, prefix, name): # returns FIB entry ID
fib = self.graphQLClient.fetch("""
mutation insertFibEntry($name: Name!, $nexthops: [ID!]!) {
insertFibEntry(name: $name, nexthops: $nexthops) {
id
}
}
""", {
'name': "/"+prefix ,
'nexthops': [self.faces[name]['data']['createFace']['id']
})
info('***fib result %s\n' % fib)
info('***prefix is %s'% "'/"+prefix+"'"+ '\n')
Now I am looking to delete the entry. How would I make a similar function to delete the entry?