-
-
Notifications
You must be signed in to change notification settings - Fork 70
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
Options on Backend init are overloaded with the default values. #282
Comments
Yeah I think I see what happened here. Essentially the trouble was that the implementation of Can you try out the following please:
After that try starting your app again and see whether this fixes your issue. |
This is exactly what I did to fix the issue on my side and get going. I just didn't take the time to PR that change. So I can confirm it fixes it. 👍 |
Closing this as the fix was released in beta-2 |
I'm submitting a bug report
3.0.0-beta.1
Please tell us about your environment:
Operating System:
OSX 10.x
Node Version:
8.11.4
NPM Version:
5.6.0
JSPM OR Webpack AND Version
webpack 4.17.2
Browser:
all
Language:
all
Current behavior:
When specifying
options
for the backend at boot of the app using the following piece of code,options
are not taken into account :Options provided by the user shall be taken into account.
Actually I found that during conversion to Typescript, this line, using the
defaults
function defined lines later in the same file, has been converted to Object.assign(). But arguments are not taken into account in the same order.As a result of this current use of
Object.assign()
, options are overloaded with the default values.The text was updated successfully, but these errors were encountered: