diff --git a/Datra.SampleData/Datra.SampleData.asmdef b/Datra.SampleData/Datra.SampleData.asmdef index be03eba..40c4339 100644 --- a/Datra.SampleData/Datra.SampleData.asmdef +++ b/Datra.SampleData/Datra.SampleData.asmdef @@ -9,11 +9,10 @@ "allowUnsafeCode": false, "overrideReferences": true, "precompiledReferences": [ - "Newtonsoft.Json.dll", "YamlDotNet.dll" ], "autoReferenced": true, "defineConstraints": [], "versionDefines": [], "noEngineReferences": false -} \ No newline at end of file +} diff --git a/Datra/Converters/PolymorphicYamlSupport.cs b/Datra/Converters/PolymorphicYamlSupport.cs index 229b327..a8b881e 100644 --- a/Datra/Converters/PolymorphicYamlSupport.cs +++ b/Datra/Converters/PolymorphicYamlSupport.cs @@ -10,7 +10,7 @@ namespace Datra.Converters { /// - /// Resolves type names to Type objects, similar to PortableTypeBinder for JSON. + /// Resolves type names to Type objects for legacy YAML polymorphism. /// Enables YAML portability across different assembly configurations. /// public class PortableTypeResolver diff --git a/Datra/Datra.asmdef b/Datra/Datra.asmdef index e4a40e0..43c9551 100644 --- a/Datra/Datra.asmdef +++ b/Datra/Datra.asmdef @@ -7,11 +7,10 @@ "allowUnsafeCode": false, "overrideReferences": true, "precompiledReferences": [ - "Newtonsoft.Json.dll", "YamlDotNet.dll" ], "autoReferenced": true, "defineConstraints": [], "versionDefines": [], "noEngineReferences": false -} \ No newline at end of file +} diff --git a/Datra/Repositories/DeepCloner.cs b/Datra/Repositories/DeepCloner.cs index eaa06e4..ad284fc 100644 --- a/Datra/Repositories/DeepCloner.cs +++ b/Datra/Repositories/DeepCloner.cs @@ -20,7 +20,7 @@ private static JsonSerializerOptions CreateOptions() var opts = new JsonSerializerOptions { DefaultIgnoreCondition = System.Text.Json.Serialization.JsonIgnoreCondition.WhenWritingNull, - // Match Newtonsoft round-trip semantics: Datra data classes occasionally expose + // Match Datra's legacy round-trip semantics: Datra data classes occasionally expose // public fields (e.g. PooledPrefab.Path). STJ excludes fields by default — turning // it on keeps DeepCloner.Clone behaviourally compatible. IncludeFields = true, diff --git a/Datra/Serializers/DatraJsonHelpers.cs b/Datra/Serializers/DatraJsonHelpers.cs index 1132182..d86eaf6 100644 --- a/Datra/Serializers/DatraJsonHelpers.cs +++ b/Datra/Serializers/DatraJsonHelpers.cs @@ -8,7 +8,7 @@ namespace Datra.Serializers { /// - /// STJ option helpers that re-create Datra's Newtonsoft-era contract semantics. + /// STJ option helpers that re-create Datra's legacy JSON contract semantics. /// internal static class DatraJsonHelpers {