simd-json icon indicating copy to clipboard operation
simd-json copied to clipboard

Expose the fields of `Error` as public

Open GodTamIt opened this issue 1 year ago • 1 comments

These fields can be useful when trying to inspect the error.

GodTamIt avatar Feb 12 '24 03:02 GodTamIt

I totally see the use on that, instead of making the fields public would it work for you to add accessor functions? That way, keeping the fields private, allows to change them in the future as needed without forcing users to adopt their code as long as the functions can wrap the new data layout into the old functions.

Licenser avatar Feb 29 '24 11:02 Licenser

@Licenser sorry, took a while for me to get back to this but this should be done now :)

GodTamIt avatar Apr 06 '24 14:04 GodTamIt

thanks! released as 0.13.10

Licenser avatar Apr 15 '24 14:04 Licenser