Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@hori-ryota
Copy link
Contributor

Description

Fix nested prefix order.

	type Owner struct {
		Name string `csv:"name"`
	}

	type Address struct {
		Owner  Owner  `csv:"owner_,inline"`
	}

	type User struct {
		Address     Address `csv:"address,inline"`
	}

got owner_address_name; want address_owner_name

Checklist

  • Code compiles without errors
  • Added new tests for the provided functionality
  • All tests are passing
  • Updated the README and/or documentation, if necessary

@jszwec
Copy link
Owner

jszwec commented Jun 29, 2022

nice catch! looks good to me, thanks!

@jszwec jszwec merged commit 2b7b86b into jszwec:master Jun 29, 2022
@jszwec
Copy link
Owner

jszwec commented Jun 29, 2022

released v1.7.1 with this patch

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