question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Conversion example inconsistent with conversion description

See original GitHub issue

Describe the bug

The Config Value Conversion Rules section of the spec includes this:

Value Convert To Method Result
"\," String getValue "\,"
"\," String[] getValue throws NoSuchElementException
"\," String getOptionalValue Optional.of("\,")
"\," String[] getOptionalValue Optional.empty()
"\," String getOptionalValues Optional.empty()

I think this is wrong. Since \ is used as an escape character, the list style conversions should treat the , as a literal character, rather than a separator, so the result for getValue with String[] would be {","}.

I’m unsure whether this table should also have code tags around almost every entry. (My only doubt here is that \ is also the string escape in Java, so it could be confusing as to whether we’re using Java’s string syntax or not if it’s formatted as code)

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:8 (8 by maintainers)

github_iconTop GitHub Comments

1reaction
Emily-Jiangcommented, Oct 29, 2020

Thanks @radcortez @jbee! Let me propose a PR to get it fixed.

0reactions
radcortezcommented, Oct 29, 2020

Ok.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Conversion Disorder: What It Is, Causes, Symptoms & Treatment
Functional neurological symptom disorder — better known as “conversion disorder” — is a mental health condition that causes physical symptoms.
Read more >
Conversion Disorder - StatPearls - NCBI Bookshelf
Inconsistent symptoms, negative labs/imaging, and/or a significant psychiatric disorder are reliable indicators of conversion disorder. However, ...
Read more >
Conversion disorder: MedlinePlus Medical Encyclopedia
Conversion disorder is a mental condition in which a person has blindness, paralysis, or other nervous system (neurologic) symptoms that ...
Read more >
Conversion Disorder - Mental Help Net
Conversion Disorder describes impairment in sensory or motor function resulting from unknown neurological origin. Examples of sensory function include vision,
Read more >
Conversion - The Basic Tort | Stimmel Law
Conversion - The Basic Tort · the plaintiff's ownership or right to possession of the property; · the defendant's conversion by wrongful act...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found