Skip to content
This repository has been archived by the owner on Mar 16, 2022. It is now read-only.

APIO-230 navigate to collection with server url and type of the collection #6

Merged
merged 12 commits into from
Aug 8, 2018

Conversation

victorg1991
Copy link
Member

No description provided.

this.client = new HttpClient();
this.parser = new JsonLDParser();
this.thingsCache = new Map();
this.conversionHandler = new ConversionHandler();
this.authorizationHeaders = authorizationHeaders;
this.conversionHandler = new ConversionHandler(this);

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't like to use this around, leaks :P

getEntryPointUrl() {
const {baseUrl} = this.consumer.config;

return baseUrl + '/o/api';

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why do you need the destructuring?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Because... destructuring all the things!

Fixed in 98d1fb5

}

executeSteps(steps) {
return steps.reduce(async (acc, step) => step(await acc), null);

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

hehe, clever

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@p2kmgcl helped me with this :D

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

😎

@victorg1991 victorg1991 merged commit 1a87e72 into master Aug 8, 2018
@victorg1991 victorg1991 deleted the apio-230 branch August 8, 2018 09:29
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants