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.

Support for nested fragments

See original GitHub issue

When using the tool I noticed that nested fragments are not supported and throw an error:

fragment price on Price {
  value
  currency
}

fragment example on UnitVariant {
  id
  price {
    ...price
  }
}
Screen Shot 2020-12-15 at 8 02 32 AM

Is this intentional? Something we can support?

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:1
  • Comments:10 (3 by maintainers)

github_iconTop GitHub Comments

4reactions
joeboyscout04commented, Sep 23, 2021

Worked great. Thanks for the help, we can close this issue again @B2o5T 👍

4reactions
dontsavecommented, Mar 15, 2021

We have noticed this issue also affects the require-id-when-available rule, where ids will be on nested fragments, but the linter flags them as not there

Read more comments on GitHub >

github_iconTop Results From Across the Web

Support for nested fragments · Issue #219 · B2o5T/graphql-eslint
When using the tool I noticed that nested fragments are not supported and throw an error: fragment price on Price { value currency...
Read more >
Android: Can you nest Fragments? - Stack Overflow
Finally! the android 4.2 update comes with default support for nested fragments, also compatible: Official NestedFragments. What's more, the support of the ...
Read more >
Fragment manager - Android Developers
Finding an existing fragment; Special considerations for child and sibling fragments. Support multiple back stacks; Provide dependencies to ...
Read more >
Nested fragments are not working on back click in xamarin ...
Nested fragments are not working on back click in xamarin android. I have created one activity and 2 fragments. ... Support.V4.
Read more >
What is a nested fragment?
A nested fragment is the use of a fragment inside a fragment. When you use nested fragments, you should be aware of 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