LorettaDevs/Loretta

Make all fields in `.Update` optional

GGG-KILLER opened this issue · 1 comments

Is your feature request related to a problem? Please describe.
Having to provide every single node for .Update is very annoying and could be better as what we have for LuaSyntaxOptions.With

Describe the solution you'd like
The same solution as applied to LuaSyntaxOptions.With.

Describe alternatives you've considered
Providing every single parameter every time or using a combination of multiple .With* methods which would result in a lot of unnecessary allocations.

Additional context
None.

This has no milestone because it is not planned for any specific release as I'm still ironing out the following issues:

  • Backwards compatibility;
  • Issue with consumption from languages that aren't C# and VB that may not support default parameters.