Closed kwajiehao closed 1 year ago
This PR adds a new method, parseData, which helps to parse the sgID userinfo object so that any stringified array or object values are parsed as objects. Previously, the parseData object only parsed individual values.
parseData
This PR is implemented according to the SDK implementation requirements as linked here: https://www.notion.so/opengov/SDK-implementation-requirements-1f9b7cbd2bd4406b85d6645fe3e365dd#dcabe67d14034525bfd5e84acc1c59c6
This PR also adds the necessary unit tests for the newly introduced utility functions that support parseData
Current dependencies on/for this PR:
This comment was auto-generated by Graphite.
This PR adds a new method,
parseData
, which helps to parse the sgID userinfo object so that any stringified array or object values are parsed as objects. Previously, theparseData
object only parsed individual values.This PR is implemented according to the SDK implementation requirements as linked here: https://www.notion.so/opengov/SDK-implementation-requirements-1f9b7cbd2bd4406b85d6645fe3e365dd#dcabe67d14034525bfd5e84acc1c59c6
This PR also adds the necessary unit tests for the newly introduced utility functions that support
parseData