Skip to content

Make sure quoted keys with dots work well - #333

Merged
arp242 merged 1 commit into
masterfrom
qk
Nov 25, 2021
Merged

arp242 merged 1 commit into
masterfrom
qk

Conversation

@arp242

@arp242 arp242 commented Nov 25, 2021

Copy link
Copy Markdown
Collaborator

Using strings.Join(key, ".") is problematic as these:

"foo.bar" = 42
foo.bar = 42

Will have the same string value, but are not identical!

Always use maybeQuotedAll() in String(); I don't know when you would
ever not want to use quoting.

Using strings.Join(key, ".") is problematic as these:

  "foo.bar" = 42
  foo.bar   = 42

Will have the same string value, but are not identical!

Always use maybeQuotedAll() in String(); I don't know when you would
ever *not* want to use quoting.
@arp242
arp242 merged commit 7d0236f into master Nov 25, 2021
@arp242
arp242 deleted the qk branch November 25, 2021 12:10
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.

1 participant