#600 Fix nullable enum roundtrip (fixes #544)
There was a problem deserializing nullable enums that was introduced with release 9.1.0.
Release 11.1.0
New features
#604 Support for deserialization of interface types (Fixes #601)
This allows to register a concrete class for a given interface. When deserializing a value of that interface type, the concrete class will be deserialized instead.
var sut = new DeserializerBuilder()
.WithNamingConvention(CamelCaseNamingConvention.Instance)
.WithTypeMapping<ICar, Car>()
.WithTypeMapping<IModelSpec, ModelSpec>()
.Build();
#603 Fix nullable annotation of TagName implicit converter.
#602 Fix nullable annotations for AnchorName implicit converter.
Release 11.0.1
Bugfixes
#596 Merge sequence of anchors in reverse order (fixes #594)
When merging sequences, the order was incorrect. This is a breaking change. If you relied on the previous behaviour, you will need to adapt your code.
#563 Fix imutable pattern in EmitterSettings.SkipAnchorName.
Release 10.1.0
#584 Add support for adding comments to properties.
The YamlMember attribute now has a Description property. When set, a comment is emitted when serializing that property:
class Person
{
public string Name { get; set; }
[YamlMember(Description = "This is the age")]
public int Age { get; set; }
[YamlMember(Description = "male or female")]
public string Sex { get; set; }
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
Bumps YamlDotNet from 9.1.4 to 11.1.1.
Release notes
Sourced from YamlDotNet's releases.
... (truncated)
Commits
fedcbea
#600 Fix nullable enum roundtrip381ffec
Fix repository name detection on AppVeyor7ffbb84
Merge pull request #602 from meziantou/patch-11961d66
Merge pull request #603 from meziantou/patch-2b722b07
#604 Support for deserialization of interface types3219bbb
Removed abstract method AddTypeMapping from BuilderSkeleton as this only appl...abe677b
Added another option to deserialize interface types by specifying their concr...4a86822
Fix nullable annotation of TagName implicit converter68c916b
Fix nullable annotations for AnchorName implicit convertera36b671
Merge branch 'master' of https://github.com/aaubry/YamlDotNet into nullable-e...Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually