-
Notifications
You must be signed in to change notification settings - Fork 87
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
Fix read model queries when selecting deeply-nested arrays (local provider) #1553
Conversation
# Conflicts: # packages/framework-provider-azure-infrastructure/package.json
PR Summary
|
/integration sha=c4a9e04 |
⌛ Integration tests are running... Check their status here 👈 |
✅ Integration tests have finished successfully! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Description
This PR is related to #1552. It fixes the same issue but for the local provider. It changes the approach to selecting fields when querying read models in the local provider. Instead of passing projections to NeDB, the full object will be retrieved, and the fields indicated in the selection will be filtered in.
Changes
read-model-registry.ts
to change how read models are queries.read-model-registry.test.ts
for querying a complex read model.Checks