YamlDotNet icon indicating copy to clipboard operation
YamlDotNet copied to clipboard

YamlDotNet is a .NET library for YAML

Results 233 YamlDotNet issues
Sort by recently updated
recently updated
newest added
trafficstars

Hello, **Is your feature request related to a problem? Please describe.** I'm looking to use YamlDotNet in our enterprise environment. Our security requirements specifically require that the DLL itself have...

**Describe the bug** When using AOT (Vecc.YamlDotNet.Analyzers.StaticGenerator), if the model uses `Uri`, it fails on any input (`Unhandled exception. (Line: 4, Col: 1, Idx: 41) - (Line: 4, Col: 8,...

## What cause the issue In line 94 https://github.com/aaubry/YamlDotNet/blob/b8ac2a98ffcc12434eff6c6abb75b38ad1b1ab04/YamlDotNet.Analyzers.StaticGenerator/TypeFactoryGenerator.cs#L92-L98 When the StaticContext to be generated is in the global namespace, `syntaxReceiver.YamlStaticContextType?.GetNamespace()` returns an empty string instead of null. As a...

**Describe the bug** When serialize `enum value combinations`. value is serialized by default enum name. And the name that is specified by `EnumMember` is not used. **To Reproduce** #### Test...

**Describe the bug** my project was using `12.0.2` version of YamlDotNet package. While upgrading to a newer version I realized an issue introduced in release `12.1.0` via this change https://github.com/aaubry/YamlDotNet/pull/747/files#diff-7df2919371fb7e178ae78e207ac6010f930dae71acf2e99769c373c472ce575bR1922...

Currently, `DBNull.Value` is serialized to empty object string(`{}`). There is dedicated code path for `DBNull.Value` on `FullObjectGraphTraversalStrategy`. But it seems not be used. (Because `value.IsDbNull()` always returns `false`, And ther...

**Is your feature request related to a problem? Please describe.** I wish to serialize/deserialize struct types (including `readonly struct`) when NativeAOT enabled, but when I use my own `StaticContext`, it...

Hi, Will be greate to add .NET 9.0 support. Thanks

**Is your feature request related to a problem? Please describe.** Currently, the `IDeserializer.Deserialize` methods return null if the parsed string is empty (or whitespaces). However, because the interface description declares...

``` YamlDotNet.Core.YamlException: No node deserializer was able to deserialize the node into type System.Collections.Generic.IReadOnlyCollection ``` Properties should not return arrays[CA1819](https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1819) The recommended solution is `IReadOnlyCollection`, especially if the intent is...