Skip to content

correct parsing values for slice of strings with commas #161

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

Merged
merged 3 commits into from
Jun 19, 2025

Conversation

sattellite
Copy link
Contributor

Slice of strings can contain strings with commas. Fixed the function for represent such slice into a string. The special unicode character is used as separator, which is described as "record separator".

Fix for #160

@sattellite
Copy link
Contributor Author

@cristaloleg help to review the PR

@cristaloleg
Copy link
Member

@cristaloleg
Copy link
Member

I think #63 should be reopened and the proper solution should be: everyone can set it's own slice separator (which should be default to ,).

@sattellite
Copy link
Contributor Author

thanks, i will look for solution.

@sattellite
Copy link
Contributor Author

@cristaloleg i have changed approach. added the SliceSeparator option, which is passed to Loader so that it can use it to work with slices. all tests are passed

@cristaloleg cristaloleg merged commit 8eed631 into cristalhq:main Jun 19, 2025
@sattellite
Copy link
Contributor Author

could you please create a new release?

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