storage key delimiter ?
Tom Zeller
tzeller at dragonacea.biz
Mon Dec 15 22:06:27 EST 2014
On Mon, Dec 15, 2014 at 8:59 PM, Cantor, Scott <cantor.2 at osu.edu> wrote:
> On 12/16/14, 2:44 AM, "Tom Zeller" <tzeller at dragonacea.biz> wrote:
>>What should the delimiter be for consent storage keys ? I used a
>>colon, so that storage keys look like "<user>:<entityID>", but maybe a
>>pipe "|" is a better choice.
>
> No real preference. Are you just talking about the fact that the entityIDs
> contain a colon?
Mostly. I just guessed on the colon, then did auditing which uses
pipes, so was thinking maybe pipes were better.
For the "counter" record which counts the number of times a flow was
executed, the storage key looks like "<user>:<entityID>:_counter", so
a simple split with limit 2 on a colon won't work anymore. I think
this only matters for folks using server-side storage though.
More information about the dev
mailing list