Skip to content

[DE-313] Allow specifying the return type in CRUD document operations #448

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

Merged
merged 8 commits into from
Aug 11, 2022

Conversation

rashtao
Copy link
Collaborator

@rashtao rashtao commented Aug 10, 2022

CRUD document operations should allow specifying the return type, instead of capturing the runtime type of the object(s) being saved. I.e. currently we cannot save polymorphic collections of documents.

Covariance of returned types will be fixed in a subsequent PR.


fixes #373

@rashtao rashtao force-pushed the feature/typed_crud_document_api branch from 1203e3a to b887856 Compare August 11, 2022 13:24
@rashtao rashtao merged commit 3bca4a7 into v7 Aug 11, 2022
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

Successfully merging this pull request may close these issues.

1 participant