elide icon indicating copy to clipboard operation
elide copied to clipboard

TableExport: Extracts All Records in the table instead of Single One

Open moizarafat opened this issue 4 years ago • 0 comments

TableExport: Extracts All Records in the table instead of Single One in the URL.

Expected Behavior

A JSON Query like http://localhost:8080/api/v1/<modelName>/<id> should extract 1 record from the table where id=<id>

Current Behavior

A JSON Query like http://localhost:8080/api/v1/<modelName>/<id> extracts all the records in the table instead of a single record with id=<id>

Possible Solution

Parse the URL to generate a filter expression and include it in the projection/query details. We use EntityProjectionMaker.parsePath so maybe we can update methods here to generate the FilterExpressions.

moizarafat avatar Mar 29 '21 19:03 moizarafat