-
-
Notifications
You must be signed in to change notification settings - Fork 2k
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
Issue upgrading to 8.0.0-rc.0 #1902
Comments
Do you provide your own serializer by any chance @adrogon ? |
Broken either way, with serializer specified or with any routerState, e.g. |
BTW, it only affects AOT, JIT seems to be Ok, if I am not mistaken. |
Will someone provide a small reproduction of the issue? |
@Domratchev is correct, this happens when AOT is enabled. @brandonroberts Here is a simple reproduction: Generate a dummy application
Load NgRx modules
Serve the app with AOT enabled
|
@brandonroberts @timdeschryver I can confirm that issue. It only occurs in AOT. Had the same problem when activating the AOT flag. There are two different issues. 1.) Just loading (without any assignment in a module, etc) something from
|
Repro: https://github.com/timdeschryver/sandbox-version-eight |
I'm getting the same error with |
@DenisSemionov the fix for this issue hasn't been released yet. |
Minimal reproduction of the bug/regression with instructions:
App working under
8.0.0-beta.2
, upgrading to8.0.0-rc.0
make serving the app fail with the following message:Expected behavior:
The app to work again ; the listed breaking changes don't seem like they should impact the ability to serve the app.
Versions of NgRx, Angular, Node, affected browser(s) and operating system(s):
We use the following packages in
8.0.0-rc.0
@angular and its friends are all in
^8.0.0
, node is10.14.1
.Other information:
I would be willing to submit a PR to fix this issue
[x] Yes (Assistance is provided if you need help submitting a pull request)
[ ] No
I would love to, but could not find the root cause so far.
Looking at 8.0.0-beta.2...8.0.0-rc.0, no change would obviously break our code, which make it look like a circular dependency got added when adding
MinimalRouterStateSerializer
.The text was updated successfully, but these errors were encountered: