Re: [Specifications] External operations

> I also assume most APIs won't use external operations, but those who do might do it to increase cache hits on operations that are similar across many different responses, for instance.

Here we get into
>> What we might have to address - operations shared by more than one resource. Given `"target": { "@reverse": "operation" }`

>Yeah, I think this is a pretty good argument for, generally, not giving operations an IRI.

@asbjornu can you provide an example of operation that you might want to reference from multiple resources to 'increase cache hits`? Operations tend to stay very small so IRI vs. the whole operation inline doesn't seem to make much difference.


-- 
GitHub Notification of comment by elf-pavlik
Please view or discuss this issue at https://github.com/HydraCG/Specifications/issues/146#issuecomment-342303414 using your GitHub account

Received on Monday, 6 November 2017 22:05:12 UTC