We have entries like this in our Core service datasources.json file, that represent endpoints in another service named Accounts:
"accounts": {
"name": "accounts",
"connector": "swagger",
"spec": "http://192.168.100.103:3001/explorer/swagger.json"
}
We could then use the endpoints from the service inside our loopback app like this, Accounts.Accounts_findById({...}).
How can i get the same effect using LB4 components? (both creation of datasource and method invokation)
We have entries like this in our Core service datasources.json file, that represent endpoints in another service named Accounts:
We could then use the endpoints from the service inside our loopback app like this, Accounts.Accounts_findById({...}).
How can i get the same effect using LB4 components? (both creation of datasource and method invokation)