Skip to content
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

Fix removing substitutions that are still to be resolved #142

Merged
merged 8 commits into from
Dec 19, 2019

Conversation

IgorFedchenko
Copy link
Contributor

Close #123

The problem here was that when setting value to some object's key, we were deleting all substitutions from the old value - even if the same substitutions were used in new value.

Also, noticed that rewriting value was used only for literals. I.e.

foo = ${not-exists}
foo = [42]

was failing, since it did not allow arrays to overwrite values. Which is of course a bug. Fixed as it was almost in the same line.

@Aaronontheweb
Copy link
Member

Again, seeing the PR show up in the Azure DevOps queue but I'm not seeing the status on the Github PR itself. The main Akka.NET project doesn't have this problem 😠

@IgorFedchenko
Copy link
Contributor Author

Again, seeing the PR show up in the Azure DevOps queue but I'm not seeing the status on the Github PR itself. The main Akka.NET project doesn't have this problem 😠

Indeed, very weird... And I even do not have any link to check out CI results (but luckily in this repo CI results are usually the same as after running tests locally).

@Aaronontheweb Aaronontheweb merged commit e832d51 into akkadotnet:dev Dec 19, 2019
@IgorFedchenko IgorFedchenko deleted the fix/substitutions-bug branch December 19, 2019 20:24
Aaronontheweb pushed a commit that referenced this pull request Dec 27, 2019
* Added failing test

* Fixed related test

* Fixed removing of valid substitutions
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Resolve substitutions bug
2 participants