You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
with RFC: #1638, we have added support for multiple datasources for graphql scenario. Pr:#1709. This issue tracks adding support for multiple datasources for REST scenario.
The text was updated successfully, but these errors were encountered:
## Why make this change?
This change introduces REST support for multiple DB Scenario.
Issue: #1753
## What is this change?
1. Instead of using the default db name to dispatch queries, we are
using the db name based on entity and then dispatching queries and
mutations.
## How was this tested?
1. Existing unit tests should cover backward compatibility scenarios of
all single db rest support.
2. Existing unit tests cover the flow once the query is dispatched to
the queryEngine/query executor. We need to add the tests for the
integration scenario for other calls in rest.
3. Added test for rest scenario dispatch routing.
Integration test:
1. Two db's one has publishers entity and one has books:
Get publishers
![image](https://github.com/Azure/data-api-builder/assets/124841904/8f1fd2d6-50f0-410a-b096-ad946434ba94)
Get books
![image](https://github.com/Azure/data-api-builder/assets/124841904/3c0e680c-4c30-46dd-8bdc-575c673ecdaf)
with RFC: #1638, we have added support for multiple datasources for graphql scenario. Pr:#1709. This issue tracks adding support for multiple datasources for REST scenario.
The text was updated successfully, but these errors were encountered: