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

Allow entity lookup from entity value #215

Closed
kzu opened this issue Jun 27, 2023 · 0 comments · Fixed by #216
Closed

Allow entity lookup from entity value #215

kzu opened this issue Jun 27, 2023 · 0 comments · Fixed by #216
Labels
enhancement New feature or request

Comments

@kzu
Copy link
Member

kzu commented Jun 27, 2023

If you're using the entities as DTOs too (i.e. over the wire by serializing to/from JSON),
it's convenient to be able to lookup a previously saved entity by using the entity at
hand, rather than having to use its partition/row keys (especially if those are annotated
properties and it's not obvious to the consumer which properties are used for each).

Since the repository internally already has an efficient way to access these properties,
which are used for the PutAsync operation, this would be a straightforward addition.

Back this issue
Back this issue

@kzu kzu added the enhancement New feature or request label Jun 27, 2023
kzu added a commit that referenced this issue Jun 27, 2023
@kzu kzu closed this as completed in #216 Jun 27, 2023
kzu added a commit that referenced this issue Jun 27, 2023
@devlooped devlooped locked and limited conversation to collaborators Oct 23, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant