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 keys when DisableExpansion is enabled #24

Closed
wants to merge 1 commit into from

Conversation

mgurov
Copy link

@mgurov mgurov commented Aug 30, 2017

I noticed that when a property added after the expansion is disabled, it is missed in the full printout by String()

@magiconair magiconair changed the title fix to keys lost after DisableExpansion=true Fix Set() method to update internal 'keys' list when 'DisableExpansion' is enabled Sep 2, 2017
@magiconair magiconair changed the title Fix Set() method to update internal 'keys' list when 'DisableExpansion' is enabled Update keys when DisableExpansion is enabled Sep 2, 2017
@magiconair magiconair closed this in 2d93f71 Sep 2, 2017
@magiconair
Copy link
Owner

@mgurov Thanks for finding this! I've refactored the test a bit to make this more obvious. The fact that you were using String() was throwing me off a bit, initially.

@magiconair magiconair added this to the 1.7.4 milestone Oct 31, 2017
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