Better HN
topnewbestaskshowjobs
Log inSign up

rndv

1 karma · joined Jun 7, 2011 (15y ago) · 1 submissions

Submissions

comment 15y ago · link · parent

I wish there was something like Selector's named arguments (http://lukearno.com/projects/selector/):

Selector().add(path, GET=get_entity, PUT=put_entity, ...)

It's nicer with a mapping file:

/path GET get_entity PUT put_entity