-
Notifications
You must be signed in to change notification settings - Fork 44
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Add setting use brackets as a namespace separator #56
Add setting use brackets as a namespace separator #56
Conversation
@alxfv I will have to review carefully, there is a good chance this will conflict with the map and/or array decoding logic which uses square brackets as its separators. |
Thanks! I will add more tests to try to find possible conflicts. |
77cc112
to
ad71d56
Compare
Hello again! Improved some tests:
Also wanted to tell how this pull request implements this feature. It changes only Lines 162 to 169 in 91efee7
And later on in Lines 34 to 41 in 91efee7
|
I think that this will likely be ok then. I only have one ask to make this more generic for any future requests can the PR be modified to use a struct namespace This will help keep the library flexible to future use cases and remove the |
Great idea! Done. |
ad71d56
to
11d2b17
Compare
Add a new setting that allows using square brackets as a namespace separator.
In a company I work for we use square brackets as a struct separator.
@go-playground/admins