feat(data): add provideEntityData and provideEntityDataWithoutEffects#3647
feat(data): add provideEntityData and provideEntityDataWithoutEffects#3647brandonroberts merged 13 commits intongrx:masterfrom
Conversation
✅ Deploy Preview for ngrx-io canceled.Built without sensitive environment variables
|
markostanimirovic
left a comment
There was a problem hiding this comment.
Thanks a lot Santosh for reopening this PR!
|
I didn't add TSDoc and tests for the new data APIs yesterday, but it would be good to cover at least the main use cases. If you don't have time, we can add tests in a separate PR. I'd also revert changes from |
|
Sounds good I need to work on my slides. Should I disable these tests as of now and update once I am back? Will update the standalone-app |
|
Hey @santoshyadavdev, We don't need to exclude existing |
oops, my bad, really sorry, I am too tired 😂 |
markostanimirovic
left a comment
There was a problem hiding this comment.
oops, my bad, really sorry, I am too tired 😂
Oh 😅 No worries!
modules/data/spec/entity-services/entity-collection-service.spec.ts
Outdated
Show resolved
Hide resolved
modules/data/spec/entity-services/entity-collection-service.spec.ts
Outdated
Show resolved
Hide resolved
|
Changes look good overall. We have an opportunity to change the I propose two options
provideEntityData(config, [withEffects()])Option 2 would be the default |
Sounds good to me 👍 I'm also not a big fan of |
brandonroberts
left a comment
There was a problem hiding this comment.
LGTM.
We can change the signature in a follow-up PR
|
I can make changes tonight, if you want to wait 😃 |
|
Thanks Santosh! I think it's ok to go ahead and land this one. @markostanimirovic is going to look at the follow-up PR |
PR Checklist
Please check if your PR fulfills the following requirements:
PR Type
What kind of change does this PR introduce?
Closes #3529
Does this PR introduce a breaking change?