Skip to content
This repository has been archived by the owner on May 16, 2019. It is now read-only.

Nested Fragments fail with property does not exist #50

Open
mdnorman opened this issue Jan 17, 2019 · 2 comments
Open

Nested Fragments fail with property does not exist #50

mdnorman opened this issue Jan 17, 2019 · 2 comments

Comments

@mdnorman
Copy link
Contributor

No description provided.

@mdnorman
Copy link
Contributor Author

I've created a test that demonstrates this at mdnorman@d97189d

This query doesn't work, even though it should:

            {
                hero {
                    id
                    ...heroName
                }
            }

            fragment heroName on Hero {
                name {
                    real
                }
                ...heroNameDetails
            }

            fragment heroNameDetails on Hero {
                name {
                    asHero
                }
            }

These types of queries are built all the time with Relay (https://facebook.github.io/relay/)

@mdnorman
Copy link
Contributor Author

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant