WIP
This commit is contained in:
@@ -9,6 +9,7 @@ import resolvers from './resolvers';
|
||||
import { OrderAPI } from './datasources/order-api';
|
||||
import { ProductAPI } from './datasources/product-api';
|
||||
import { DesignerAPI } from './datasources/designer-api';
|
||||
import { Api2DataSource } from './datasources/api2-datasource';
|
||||
|
||||
const knexConfig = knexStringcase(dbConfig);
|
||||
|
||||
@@ -20,6 +21,7 @@ const dataSources = () => ({
|
||||
orderApi: new OrderAPI(knexConfig),
|
||||
productApi: new ProductAPI(knexConfig),
|
||||
designerApi: new DesignerAPI(knexConfig),
|
||||
api2: new Api2DataSource(),
|
||||
});
|
||||
|
||||
const context = async ({ req }) => {
|
||||
|
||||
Reference in New Issue
Block a user