Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
moizarafat opened this issue Mar 29, 2021 · 0 comments
Open

Comments

@moizarafat
Copy link
Collaborator

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant