Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Documentation uses obsolete class #282

Closed
koczkatamas opened this issue Oct 16, 2017 · 0 comments
Closed

Documentation uses obsolete class #282

koczkatamas opened this issue Oct 16, 2017 · 0 comments
Labels

Comments

@koczkatamas
Copy link

If I search for "yamldotnet example" in Google the first result is http://aaubry.net/pages/yamldotnet.html where the first example (Deserializing an object graph: Converting a YAML document to an object graph.) points to this .NET Fiddle: https://dotnetfiddle.net/HD2JXM.

If I try to use that code, Visual Studio warns about the obsolete constructor usage in this line:

var deserializer = new Deserializer(namingConvention: new CamelCaseNamingConvention());

It would be good if there would be an easily reachable up-to-date how to guide somewhere.

Meanwhile I found this example under "more information" link, but it would be better if the project's Github page would've state explicitly that I will find usage examples under that link.

So my recommendations:

  • fix the Fiddle code or redirect the links from http://aaubry.net/pages/yamldotnet.html to the Github wiki (with the more up-to-date samples)
  • put a direct link to the Samples wiki page from the project's main page or even put some samples directly there (eg. I am more interested in usage samples than the change log)
@aaubry aaubry added the bug label Sep 25, 2019
@EdwardCooke EdwardCooke closed this as not planned Won't fix, can't repro, duplicate, stale Jan 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants