Alexandre Mutel

Results 479 comments of Alexandre Mutel

I don't know what is alias but YamlMember in SharpYaml has a ctor taking a string directly: https://github.com/xoofx/SharpYaml/blob/b21523e90b4f85c695d7871a827dad61b048d803/src/SharpYaml/Serialization/YamlMemberAttribute.cs#L82-L85

It is of course possible (and laborious to do), but I have personally no time nor interests in this. PR welcome though.

No, I think it should be supported. PR welcome!

That was quite a few years ago, it was some obvious optimizations done in the parser to decrease significantly allocations. Unfortunately, I don't have anymore time dedicated to this project,...

Could be, anchors has never been much tested nor used in SharpYaml. If you find the time, PR welcome, otherwise I don't have any spare time left for this project

> Our expectation is that keys of arbitrary lengths could be parsed. Is there a workaround for this apparent limitation? Nope, according to [YAML specs 1.2.2](https://yaml.org/spec/1.2.2/) > To limit the...

> Would it be possible to have this limitation be configurable so that the consumers of SharpYaml (like OpenAPI.NET) could pass in or otherwise set a higher limit? Yes. PR...

It serializes the type information when it is not provided explicitly when serializing. It depends how you serialized your object.

> The variable result1 doesn't get the line but result2 gets the initial line. That's a different problem to your initial question but I can't reproduce this. On which .NET...

I don't remember exactly, but the code is in [AnchorSerializer.cs](https://github.com/xoofx/SharpYaml/blob/master/SharpYaml/Serialization/Serializers/AnchorSerializer.cs) I think that I didn't implement the full stuff system that supports forward reference, so basically, it is working only...