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.

selected-alternatives YAML List

See original GitHub issue

Description

When using the application.yaml, it would be nicer organizationally to support the quarkus.arc.selected-alternatives as a list. When adding many alternatives the line becomes very hard to read when common separated.

Current:

quarkus:
  arc:
    selected-alternatives: my.project.subproject.AlternativeA,my.project.subproject.AlternativeB,my.project.subproject.AlternativeC,my.project.subproject.AlternativeD

Proposed:

quarkus:
  arc:
    selected-alternatives: 
      - my.project.subproject1.AlternativeA
      - my.project.subproject1.AlternativeB
      - my.project.subproject1.AlternativeC
      - my.project.subproject1.AlternativeD

quarkus.arc.excluded-types is another good contender for this treatment.

Implementation ideas

No response

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:5 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
gsmetcommented, Feb 8, 2022

@mweber03 can you provide a small reproducer with instructions? That really helps us as it’s sometimes quite hard to reproduce the initial issue with partial information.

Thanks.

1reaction
mkoubacommented, Jan 31, 2022

@mweber03 @famod I’ve tried to use an application.yaml file as proposed in the description and it seems to work just fine.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Is there YAML syntax for sharing part of a list or map?
load(...) in Python, I get a dictionary as the representation of a YAML mapping. Yes, it's easy to post-process that into a set,...
Read more >
10 YAML tips for people who hate YAML | Enable Sysadmin
Do you hate YAML? These tips might ease your pain. ... There are lots of formats for configuration files: a list of values,...
Read more >
Alternatives — NestedText 3.5 documentation
NestedText only supports three data types (strings, lists and dictionaries) and ... YAML is considered by many to be a human friendly alternative...
Read more >
My wish-list for the next YAML - Drew DeVault's blog
It has a lot of problems, but it also is so useful in solving specific tasks that it's hard to replace. Some new...
Read more >
That's a lot of YAML
No: Body: Wants: To: Write: - YAML # Why YAML is the right devops ... were built on YAML SELECT: - num -...
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