Skip to content

Commit 7ead716

Browse files
committed
Add VersionSpec to YamlSerialization
1 parent 4bd996a commit 7ead716

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/Elastic.Markdown/Myst/YamlSerialization.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ public static T Deserialize<T>(string yaml, ProductsConfiguration products)
2121
.IgnoreUnmatchedProperties()
2222
.WithEnumNamingConvention(HyphenatedNamingConvention.Instance)
2323
.WithTypeConverter(new SemVersionConverter())
24+
.WithTypeConverter(new VersionSpecConverter())
2425
.WithTypeConverter(new ProductConverter(products))
2526
.WithTypeConverter(new ApplicableToYamlConverter(products.Products.Keys))
2627
.Build();

0 commit comments

Comments
 (0)