Add useful functions commonly used in projects

Issue #26 resolved
Andrew Palfrey created an issue

Functions such as maybe_json_decode, multi_array_key_exists and multi_array_map. multi_array_map needs to be used in the account component for an issue (see here)

Comments (9)

  1. Andrew Palfrey reporter

    For some we could, others like the maybe_json_decode I mentioned wouldn’t really work in there, since it’s not about arrays.

  2. Jamin Xu

    @apalfrey1 OK. If it is about array, we can add it to the Arrays file. If not, just add it to where appropriate. If you think we need a class for a collection of the functions for the same target, we can have a new class.

  3. Andrew Palfrey reporter

    @Luke Nelson @Jamin Xu I’ve added a bunch of useful functions, check out the item in teams. Is there any others that could be added in as well?

  4. Jamin Xu

    @apalfrey1 @luc122c Brilliant! That will save us a lot of headache in the future. I don't have any, but I would like to have a team discussion about where to keep them.

  5. Log in to comment