Re: [Specifications] EntryPoint question

As for the test mentioned, I think there is already such one. In the integration tests suite, file served as an [entry point](https://github.com/HydraCG/Heracles.ts/blob/master/integration-tests/server/api.jsonld) contains two collections exposed with `examplevocab:events` and `examplevocab:people`. [The test](https://github.com/HydraCG/Heracles.ts/blob/master/integration-tests/HydraClient.spec.ts#L38) obtains first one using client's API. Indeed we could introduce a helper i.e. `collections` within the `IHypermediaContainer` type exposed as `hypermedia` property that would enable easier access to collections.

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

Received on Saturday, 13 January 2018 18:12:15 UTC