Re: [Specifications] Actions with explicit target

>>That's how pretty much every HTML form out there works too

Well, yes and no - page has an intermediate _object_ that actually does that - the form. From the API point of view you don't submit the page, but the form - you invoke an action on the form and there is no confusion here.

In our case an operation is owned by the resource and points to it. In case of the action - the action may not point to the owning resource.

```javascript
client.invoke(events.operations.first());
// vs
client.invoke(events.actions.first()); // <- collection owns the action, but the action may point to the collection
```

Both looks very similar, but may have drastically different behaviors.

---

Review status: all files reviewed at latest revision, 3 unresolved discussions.

---



*Comments from [Reviewable](https://reviewable.io:443/reviews/hydracg/specifications/154#-:-L34pkKblRMo0jHQGapq:b-luus08)*
<!-- Sent from Reviewable.io -->


-- 
GitHub Notification of comment by alien-mcl
Please view or discuss this issue at https://github.com/HydraCG/Specifications/pull/154#issuecomment-358438790 using your GitHub account

Received on Wednesday, 17 January 2018 20:43:45 UTC