Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update fury to 3.0.0-beta.11 #39

Merged
merged 1 commit into from Jun 13, 2019
Merged

Update fury to 3.0.0-beta.11 #39

merged 1 commit into from Jun 13, 2019

Conversation

kylef
Copy link
Member

@kylef kylef commented Jun 11, 2019

New Fury toolchain adds async/await support and hrefVariables property to HttpRequest, we can simplify some logic in the Paw importer.

@@ -94,7 +94,9 @@ export default class APIElementImporter {
const { request } = transaction;

const href = coalesceElementValue(request.href, transition.href, resource.href, '/unknown');
const hrefVariables = request.attributes.get('hrefVariables') || transition.hrefVariables || resource.hrefVariables;
const hrefVariables = (
request.hrefVariables || transition.hrefVariables || resource.hrefVariables
Copy link
Member Author

Choose a reason for hiding this comment

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

eslint doesn't like this on one line, it is too long.

@pksunkara pksunkara merged commit da02b46 into master Jun 13, 2019
@pksunkara pksunkara deleted the kylef/fury-beta-11 branch June 13, 2019 13:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants