snowplow-rdb-loader icon indicating copy to clipboard operation
snowplow-rdb-loader copied to clipboard

Common: make region decoder pure

Open spenes opened this issue 4 years ago • 0 comments

Currently, region config decoder is using getRegion method from DefaultAwsRegionProviderChain. Since this method is accessing to environment, it isn't pure in functional programming sense. Decoders should be completely pure therefore we should eliminate its usage in region config decoder. Related discussion: https://github.com/snowplow/snowplow-rdb-loader/pull/612#discussion_r756788960

spenes avatar Dec 01 '21 13:12 spenes