Closed timdeschryver closed 5 months ago
Name | Link |
---|---|
Latest commit | 625221587fb65c257f3aee73dd4a81e3dc89d26e |
Latest deploy log | https://app.netlify.com/sites/ngrx-io/deploys/663a78c6755fa30008445502 |
I like this change. I also think its going to be a big breaking change for people who have reached into our src/models
directory for that interface that will no longer be there. We've always declared that those are not public API and could be broken without warning, but just something we may want to note in the migration guide specifically.
I like this change. I also think its going to be a big breaking change for people who have reached into our
src/models
directory for that interface that will no longer be there. We've always declared that those are not public API and could be broken without warning, but just something we may want to note in the migration guide specifically.
Could NgRx be structured in such a way such that only the index.ts files are accessible to remove the possibility of reaching into the implementation files?
I like this change. I also think its going to be a big breaking change for people who have reached into our
src/models
directory for that interface that will no longer be there. We've always declared that those are not public API and could be broken without warning, but just something we may want to note in the migration guide specifically.Could NgRx be structured in such a way such that only the index.ts files are accessible to remove the possibility of reaching into the implementation files?
We're already structured that way. We only expose code through the public API, but the types are included as deep imports. This is how the Angular library build process works with ng-packagr and not something custom we've set up.
PR Checklist
Please check if your PR fulfills the following requirements:
PR Type
What kind of change does this PR introduce?
What is the current behavior?
Closes #4136 Closes #4183
What is the new behavior?
Does this PR introduce a breaking change?
Other information