You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Then we can get rid of the multiple times this is called in ConfigurationSource.
Also it means that dev mode is set up before validation takes place. Setting it after means we potentially miss validation errors that could be caused by the activation of dev mode.
close#1811
I changed the way we watched file changes. When we launch the file
watching it automatically triggers a first event, so before we were
reading the configuration twice. Now only once.
I had to introduce `serial_test` crate to force 2 tests for dev mode to
be ran in serial, because it needs to check the environment variable.
It's a temporary fix to let me test it and be ready for the release. But
I will find another solution in the future
Signed-off-by: Benjamin Coenen <5719034+bnjjj@users.noreply.github.com>
Possibly in the constructor here before the call to
validate
: https://github.com/apollographql/router/blob/main/apollo-router/src/configuration/mod.rs#L260Then we can get rid of the multiple times this is called in ConfigurationSource.
Also it means that dev mode is set up before validation takes place. Setting it after means we potentially miss validation errors that could be caused by the activation of dev mode.
Originally posted by @BrynCooke in #1808 (comment)
The text was updated successfully, but these errors were encountered: