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.

Nested Brace Expanded Properties

See original GitHub issue

I get errors from ember/use-brace-expansion with something like this:

  sampleProperty: computed(
    'foo.bar.{name,place}',
    'foo.baz.{thing,@each.stuff}',
    'foo.qux.[]',
    function() {

It doesn’t pass until I nest them all like this:

  sampleProperty: computed(
    'foo.{bar.{name,place},baz.{thing,@each.stuff},qux.[]}',
    function() {

This does not work. Ember does not support nested brace expansion, per this comment/code.

Issue Analytics

  • State:open
  • Created 6 years ago
  • Comments:11 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
TheMBTHcommented, Mar 15, 2020

Thank you @rwjblue for reminding me. Sorry for the delay.

Here it is https://github.com/ember-cli/eslint-plugin-ember/pull/709

1reaction
michalsnikcommented, Jul 23, 2017

I confirmed it and it’s definitely something we should take into consideration. Thanks for posting this issue @scottosmith

Read more comments on GitHub >

github_iconTop Results From Across the Web

Nested brace expansion mystery in Bash - Unix Stack Exchange
Brace expansion is a mechanism by which arbitrary strings may be generated. Patterns to be brace-expanded take the form of an optional PREAMBLE, ......
Read more >
Nested ant-style properties - MuleSoft Help Center
This means you can't use easily expand properties whose names are stored in properties, but there are some workarounds for older versions of...
Read more >
Nested brace expansion mystery in Bash (3 Solutions!!) - YouTube
Nested brace expansion mystery in BashHelpful? Please support me on Patreon: ... Trademarks are property of their respective owners.
Read more >
CSS Nesting Module - W3C
These nested style rules act exactly like ordinary style rules—associating properties with elements via selectors—but they "inherit" their ...
Read more >
Properties and PropertyHelpers - Apache Ant
In its default configuration Ant will not try to balance braces in property expansions, it will only consume the text up to the...
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