elide
elide copied to clipboard
TableExport: Extracts All Records in the table instead of Single One
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.