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

add support for hashing records by a specified key column #12

Closed treysidechain closed 1 year ago

treysidechain commented 1 year ago

being able to hash items pulled from postgres by some specified key column integrates well with the fetch_one config option, allowing applications to later update a specific item in a collection by that key rather than providing an index into an array

asafc commented 1 year ago

Hey @treysidechain thanks for your contribution. @orishavit will review.

philipclaesson commented 1 year ago

While this was never merged, I believe https://github.com/permitio/opal-fetcher-postgres/pull/16 implements this behaviour - if you're reading this the functionality is already available by now :)

orweis commented 1 year ago

As per @philipclaesson 's comment - this was closed by #16 Still appreciate your contribution here @treysidechain - message us with shipping details - if you'd like a swag package :)