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

fix: STRF-9873 use modified copies of get, getObject, moment, option 3p helpers #171

Merged
merged 1 commit into from
Jun 16, 2022

Conversation

bc-evan-johnson
Copy link
Contributor

@bc-evan-johnson bc-evan-johnson commented Jun 15, 2022

What? Why?

Bring a subset of 3rd-party helpers into our codebase with some modifications.

Internal details at https://bigcommercecloud.atlassian.net/browse/STRF-9873

How was it tested?

Unit tests + interactive testing in CDVM.


cc @bigcommerce/storefront-team

helpers/get.js Outdated
return;
}

let value = _.get(context, path);
Copy link
Contributor

Choose a reason for hiding this comment

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

If it possible not to bring dependency on lodash, it would be ideal. We have a ticket in backlog to remove that dependency.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Done.

jairo-bc
jairo-bc previously approved these changes Jun 16, 2022
Copy link
Contributor

@jairo-bc jairo-bc left a comment

Choose a reason for hiding this comment

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

LGTM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants