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

Use productRefGroup name as CommentedString comment #161

Merged
merged 1 commit into from
Nov 20, 2017

Conversation

alvarhansen
Copy link
Contributor

Short description 📝

At the moment productRefGroup comment is always Products. It probably covers 99.99% of use cases. But the comment should actually be a name of that group.
It will cause problems when you change the name of that group or don't have dedicated products group at all (In that case it falls back to main group).

Solution 📦

Use productRefGroup name as CommentedString comment.

GIF

gif

Adds test to check of productRefGroup name is used as comment during serialisation.
Adds fixture project to check if project without products group is written correctly.
Copy link
Contributor

@pepicrft pepicrft left a comment

Choose a reason for hiding this comment

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

Nice catch @allu22

@pepicrft pepicrft added this to the 1.5.0 milestone Nov 20, 2017
@pepicrft
Copy link
Contributor

It's ready to be merged @allu22

@alvarhansen alvarhansen merged commit d969fdf into master Nov 20, 2017
@alvarhansen alvarhansen deleted the productRefGroup-comment branch November 20, 2017 10:47
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