dsienkiewicz/xtb_client_ex

Don't guard string fields in JSON responses

dsienkiewicz opened this issue · 0 comments

Problem
In most messages, on new/1 functions, there're guards for binary fields. Those should be removed, as sometimes such fields come as NULLs, not empty strings.

Solution
In all messages' new/1 functions:

  • remove guards for binary fields
  • add field_value || "" to default to empty string.