path "context" injection injected secrets from environment
I'll have to setup a reproducible example but wanted to get this out there as I saw it last week
- In a Stream set your path to something like
path = "/customer/{client_id}/list"- I'm using Parent / Child Streams, and sending
client_idin the child context
- I'm using Parent / Child Streams, and sending
- In
config.jsonset an environment toclient_idI also neededclient_idset as an environment variable - If
client_idin the child context is null, you'll get theclient_idfrom the environment variable set
I didn't dive to far into https://gitlab.com/meltano/sdk/-/blob/main/singer_sdk/helpers/jsonpath.py#L9 to find out what was going on