I use them all the time in vibe.web.rest. It allows to override the
defaults (e.g. by default `getfoo` maps to `GET /foo`):
https://github.com/Geod24/vibe.d/blob/ea061223ab96d5acdc004e9369f904c5e25ec8d0/source/vibe/web/rest.d#L60-L66
I actually really, really miss attributed parameters. Obviously it's
possible to emulate it (
https://github.com/Geod24/vibe.d/blob/ea061223ab96d5acdc004e9369f904c5e25ec8d0/source/vibe/web/rest.d#L169-L182)
but it isn't as nice...

2015-06-23 9:04 GMT+02:00 extrawurst via Digitalmars-d <
digitalmars-d@puremagic.com>:

> On Monday, 22 June 2015 at 20:57:59 UTC, Brian Schott wrote:
>
>> On Monday, 22 June 2015 at 19:09:40 UTC, weaselcat wrote:
>>
>>> I never seem to use them for anything, has anyone else done anything
>>> interesting with them?
>>>
>>
>> Semi-hijacking this thread:
>>
>> I recently made a few pull requests to get better support for UDAs into
>> Phobos.
>>
>> https://github.com/D-Programming-Language/phobos/pull/3356
>> https://github.com/D-Programming-Language/phobos/pull/3421
>> https://github.com/D-Programming-Language/phobos/pull/3363
>>
>> The last of the three is stuck because nobody's looking at it. Can those
>> of you who use UDAs take a look at these and confirm that I haven't made
>> any dumb mistakes before the 2.068 release goes out with them included?
>>
>
> LGTM! Finally these are added to phobos. Thanks!
>

Reply via email to