Add support for $href
Open
- Dominant language
- JavaScript
- Stars
- 8
- Forks
- 3
- PR merge metrics
- No merged PRs in 30d
Description
In #1 and #10 we added `$post` and similar accessors on `StoreValue` objects. We could just as easily add an `$href` accessor, which would make using `href` much more readable:
### Current
```Javascript
const authorUri = await this.api.href(book, 'author')
```
### Proposed
```Javascript
const authorUri = await book.$href('author')
```
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.