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.

WellIndented.java: Please make sure to allow key...

See original GitHub issue

The puzzle 156228486 originating from #525 has to be resolved:

https://github.com/decorators-squad/eo-yaml/blob/62129969ac8f6f785babadc47385558474959e6c/src/main/java/com/amihaiemil/eoyaml/WellIndented.java#L65-L69

“Please make sure to allow keys with empty values in mappings. At the moment, if we cannot find the value on the same line, we always look beneath the key for more-indented lines to be treated as the value, but this is not always the case. This should be a valid YAML {key1: value1, key2:,key3: value3}”.

The puzzle was created by Mihai A at 2022-11-21 09:20:49 +0200. Estimation is 60 minutes. If you have any technical questions, don’t ask me, I won’t be able to help. Open new issues instead.

Issue Analytics

  • State:closed
  • Created 10 months ago
  • Comments:9 (7 by maintainers)

github_iconTop GitHub Comments

1reaction
coder-hugocommented, Nov 21, 2022

@amihaiemil Ok, I see that this is not easy to solve. For the moment I added some code on our side, that removes empty mappings from the input string before passing it to the YAML parser. But it would be nice to remove this at anytime 😉

0reactions
zoeselfcommented, Nov 26, 2022

Puzzle disappeared from the code, that’s why I closed this ticket.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Loop handling in java - eclipse - Stack Overflow
Here i upload the picture of my output u can clearly see that only the values of last loop are printed but i...
Read more >
Clean Coding in Java - Baeldung
In this tutorial, we'll go through clean coding principles. We'll also understand why clean code is important and how to achieve that in ......
Read more >
CS173: Intro to Computer Science - ASCII Art | CS173 - Bill Mongan
Also, check the Style Guide to make sure that you've written high quality code; make sure your code is “readable,” well indented, uses...
Read more >
apisix/config-default.yaml at master - GitHub
# The configuration should be well indented! http_server_location_configuration_snippet: |. # Add custom Nginx http server location configuration to nginx.conf.
Read more >
C# , C sharp Assignment Content Assignment 3 ... - Chegg
Plagiarism: Please note that if your solution was found to match another ... You must, include comments, ensure code is well indented, use...
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