0

I am trying to perform inter micro services communication with DDD repository, the repository can either query the local database or call the remote micro service rest API for data. I need to convert the IQueryable to query string in order to call the rest API with the following:

  1. filter
  2. orderBy
  3. pagination
  4. select

Anyone has done this before?

kenn3th
  • 1,187
  • 2
  • 22
  • 47
  • 1
    Can you give an example of that you are trying to do? – VDWWD Dec 19 '20 at 11:57
  • 2
    Perhaps you're looking for [something like this](https://stackoverflow.com/questions/33224696/how-to-implement-custom-linq-provider-for-decorator)? – Xerillio Dec 19 '20 at 13:36
  • 2
    Did you have a look at OData or [this](https://learn.microsoft.com/en-us/odata/webapi/first-odata-api) – Martin Dec 19 '20 at 13:37

0 Answers0