This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const { typeDefs, resolvers, contextCreator, services } = buildGraphbackAPI(schema, { | |
dataProviderCreator: createKnexDbProvider(dbConfig), | |
plugins: [] | |
}); | |
const apolloServer = new ApolloServer({ | |
typeDefs, | |
resolvers, | |
context: contextCreator | |
}) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
""" | |
@oneToOne key: 'user_id' | |
""" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
""" | |
@oneToOne(key: 'user_id') | |
""" |