permitio / opal-fetcher-postgres

An OPAL custom data fetcher to bring authorization state from Postgres
https://opal.ac
Apache License 2.0
20 stars 20 forks source link

Added JSON decoder #18

Open rossmerr-technis opened 4 months ago

rossmerr-technis commented 4 months ago

Will decode a Postgres JSON data type into a JSON object instead of keeping it string encoded which is the default for asyncpg.

https://magicstack.github.io/asyncpg/current/usage.html#type-conversion

orweis commented 4 months ago

Thanks @rossmerr-technis !

@asafc can you please do CR ?