Replies: 3 comments
-
Hey @EfraimB, I am planning to provide one option with Logging is something I don't plan to add, you can create custom |
Beta Was this translation helpful? Give feedback.
-
Yeah, but creating custom HelperCoder defeats the purpose of using the Library to skip custom decoding logic. I just want an universal solution which defaults to some values in most of cases the cases so the app doesn't crash / show decoding error but maintain troubleshooting for when it happens by logging errors in an analytics tool. |
Beta Was this translation helpful? Give feedback.
-
@EfraimB the purpose of this library is to remove boiler plate needed for common I am open to contribution if you think logging can be implemented in a way to be universally used by all the users of this library. Till then I am moving this issue to discussions so the final approach of the implementation can be discussed by the users of this library. |
Beta Was this translation helpful? Give feedback.
-
Hello, the Default implementation is very useful when wanting to create a more resilient application in regards to a highly dynamic backend. The problem is that before when a mandatory value was missing an error is thrown in the debugger or tracked for a production app. Defaulting is great but would make things hard to debug when backend does not send the proper data. Is there a way to log/track when a value defaulted because it was missing in the json or had an incorrect format?
Beta Was this translation helpful? Give feedback.
All reactions