Skip to content

Instantly share code, notes, and snippets.

View machi1990's full-sized avatar
💭
I may be slow to respond.

Manyanda Chitimbo machi1990

💭
I may be slow to respond.
  • Red Hat
  • Paris
View GitHub Profile
const { typeDefs, resolvers, contextCreator, services } = buildGraphbackAPI(schema, {
dataProviderCreator: createKnexDbProvider(dbConfig),
plugins: []
});
const apolloServer = new ApolloServer({
typeDefs,
resolvers,
context: contextCreator
})
"""
@oneToOne key: 'user_id'
"""
@machi1990
machi1990 / one-to-one-annotation.graphql
Created July 22, 2020 10:55
one to one annotation
"""
@oneToOne(key: 'user_id')
"""