Skip to content
This repository has been archived by the owner on May 23, 2023. It is now read-only.

Array handling rollback and improvements #78

Merged
merged 8 commits into from
Mar 5, 2020

Conversation

Arkatufus
Copy link
Contributor

  • Rollback angle brackets requirement for array declaration
  • Re-add missing console output
  • More robust string value handling for environment variable akka injection.

Copy link
Member

@Aaronontheweb Aaronontheweb left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Like the idea but we need some more tests

if (string.IsNullOrWhiteSpace(source))
return string.Empty;

if (source.First() == '[' && source.Last() == ']')
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

So we detect an array here

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What happens for source == string.Empty ? (need a test)

return sb.ToString();
}

public static string ToSafeHoconString(this string value)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Need to add some tests to cover this

@Aaronontheweb Aaronontheweb merged commit c28e967 into petabridge:dev Mar 5, 2020
Aaronontheweb added a commit to Aaronontheweb/akkadotnet-bootstrap that referenced this pull request Mar 10, 2020
Aaronontheweb added a commit that referenced this pull request Mar 10, 2020
* added v0.4.0-rc3 release notes

* Revert "Array handling rollback and improvements (#78)"

This reverts commit c28e967.

* rolled back to Akka.NET v1.3.17

* upgraded to Akka.NET v1.4.1-rc3

* upgraded to Petabridge.Cmd v0.8.0-rc2

* added diagnostic logging back
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants