Closed MFernstrom closed 6 years ago
Without any code, we can only guess:
I'm using the latest code, downloaded and rebuilt just now.
I'm inside an action, where I register a path such as TUser.Register('/user/:id');
According to the docs I should be able to do Values.Values['id'], but I get the error.
OK, I didn't realize that it has been renamed to Variables instead of Values, the docs need update.
Aha, that did the trick.
Thanks again, leledumbo, I owe you at least a keg of beer at this point.
I'll leave this open for now, since there's a discrepancy between the docs and reality.
It looks like the docs are still wrong, how do we get them updated?
how do we get them updated?
Somebody commit and push the change (well, I practically have the permission to do so...)
Hi dudes. First, thanks for reporting and using Brook, and sorry for late answers. @leledumbo you I'll be able to push commits/PR etc., because I added you (and @MFernstrom too) as developer of the Risoflora organization. I'm inclined to move Brook framework to this organization! :-) Closing because the documentation I'll be updated in the new release that is coming in next days.
According to https://brookframework.org/doc/BrookAction.TBrookAction.html#Register I should be able to register urls such as /user/:id, and be able to read that value with Values.Values['id'].
I get Identifier not found "Values", however.
Is this a known bug or OSX-issue?