Skip to content

Conversation

@valentinkononov
Copy link

this change adds name of item to output json, as result postman will show user friendly name in it's interface instead of just showing empty place


item.request = request;
// add name property, which postman will use to show in UI
item.name = request && request.url && request.url.path && request.url.path.join('/');
Copy link
Member

Choose a reason for hiding this comment

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

Thanks @valentinkononov 💯
Using _.get will be appropriate here
Also, can you add a regression test to the suite?

Copy link
Author

Choose a reason for hiding this comment

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

ok, will do later this week.

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.

2 participants