Skip to content

Hyperion support #247

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

Merged
merged 29 commits into from
Feb 27, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
29 commits
Select commit Hold shift + click to select a range
84a3c5a
Move Hocon.Immutable into Hocon namespace
Arkatufus Feb 20, 2020
2eedda3
Mark old classes as internal classes
Arkatufus Feb 20, 2020
280a826
Convert old data type to new ones
Arkatufus Feb 20, 2020
2e09c9d
Convert old data type to new data type
Arkatufus Feb 20, 2020
84dd12c
Improve backward compatibility
Arkatufus Feb 21, 2020
0b7beb2
Convert old Config to use the new data structure.
Arkatufus Feb 24, 2020
2d5e60c
Add caching to Config
Arkatufus Feb 24, 2020
10d2659
Update ApiApprover text file to reflect the new data structure.
Arkatufus Feb 24, 2020
2ea0ce5
Merge branch 'dev' into Simplify_Data_Structure
Arkatufus Feb 24, 2020
b5a687e
Bump Linux .NET SDK version from 2.1.500 to 2.1.504 to match the wind…
Arkatufus Feb 24, 2020
8c4a583
force csproj LangVersion tag to 7.2
Arkatufus Feb 24, 2020
1c095b6
Remove throw statement, throw does not make sense since this is not a…
Arkatufus Feb 25, 2020
debc2e6
Add missing getters needed for Akka compatibility
Arkatufus Feb 25, 2020
3ad3d69
Merge branch 'dev' into Simplify_Data_Structure
Arkatufus Feb 25, 2020
279978f
Add serialization hacks (surrogate) from Akka.NET to fix serializatio…
Arkatufus Feb 25, 2020
8fa5415
Merge branch 'dev' into Simplify_Data_Structure
Arkatufus Feb 25, 2020
cdc4f1c
Remove Newtonsoft.Json nuget dependency
Arkatufus Feb 26, 2020
d91901c
Defensive coding
Arkatufus Feb 26, 2020
1deb2a7
Adjust surface API
Arkatufus Feb 26, 2020
ac1e4ad
Clean ghost Immutable projects from .sln file. Prevented CI build fro…
Arkatufus Feb 26, 2020
f9b4b75
Prepend Hocon to classes names that are too generic
Arkatufus Feb 27, 2020
f109c44
Remove caching from Config
Arkatufus Feb 27, 2020
63305ed
Force garbage collection so that memory allocation stat result only r…
Arkatufus Feb 27, 2020
9afc666
Update the approved API list to reflect the static extension class na…
Arkatufus Feb 27, 2020
602409c
Add support for Hyperion deserialization
Arkatufus Feb 27, 2020
e62ac95
Update ApiApprover API list, need to add an [Obsolete] attribute
Arkatufus Feb 27, 2020
49a1eaa
Merge branch 'dev' into Simplify_Data_Structure
Arkatufus Feb 27, 2020
4379001
Merge branch 'dev' into Simplify_Data_Structure
Arkatufus Feb 27, 2020
6badd7d
Merge branch 'Simplify_Data_Structure' of github.com:Arkatufus/HOCON …
Arkatufus Feb 27, 2020
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions src/Hocon.API.Tests/HoconAPISpec.ApproveCore.approved.txt
Original file line number Diff line number Diff line change
Expand Up @@ -407,6 +407,7 @@ namespace Hocon
public override Hocon.HoconType Type { get; }
public System.Collections.Generic.IDictionary<string, object> Unwrapped { get; }
public System.Collections.Generic.IEnumerable<Hocon.HoconElement> Values { get; }
[System.ObsoleteAttribute("Only used by Hyperion deserializer", true)]
public void Add(string key, Hocon.HoconElement value) { }
public void Add(System.Collections.Generic.KeyValuePair<string, Hocon.HoconElement> item) { }
public virtual System.Collections.Generic.IEnumerable<System.Collections.Generic.KeyValuePair<string, Hocon.HoconElement>> AsEnumerable() { }
Expand Down
3 changes: 2 additions & 1 deletion src/Hocon/HoconObject.cs
Original file line number Diff line number Diff line change
Expand Up @@ -301,9 +301,10 @@ public override bool Equals(HoconElement other)
return true;
}

[Obsolete("Only used by Hyperion deserializer", true)]
public void Add(string key, HoconElement value)
{
throw new InvalidOperationException("HoconObject is a read only Dictionary.");
Fields = Fields.Add(key, value);
}

public bool Remove(string key)
Expand Down