[IDEA] Be able to set your own yaml parser for your plugin
Goal Description
I have a union type which would be really useful to have working in the yaml parser for LabAPI. Only issue is right now though, is that I:
- Can't add the type converter directly to the parser
- Don't want to interfere with other plugins on the server if I patch or use reflection.
So it would be quite useful to be able to set your own parsers (ig this could be set during the LoadConfig method or something) and would allow you to make a custom parser that would work how you want it to, and without causing issues with other plugins.
Thanks for listening to my ted talk.
Notes
No response
Rather than setting the parser during being loaded, why not make it a virtual property of the Plugin? (Iiirc parsers are actual instances of an object)
Thank you for your suggestion! We've logged this issue in our internal git system for further review and tracking. Please note that this doesn't guarantee acceptance or implementation at this stage. If we need any additional information or clarification, we'll be sure to reach out to you.
We've reopened this suggestion to prevent confusion and duplicate posts. As stated before, the issue has been added to our internal tracker, but that does not guarantee acceptance nor implementation.