graphql-client icon indicating copy to clipboard operation
graphql-client copied to clipboard

Extend keyword?

Open lthiery opened this issue 5 years ago • 3 comments

I have a type such as:

type A {
    field_public: Int
}

Later on in the same file, I write:

extend type A {
   field_private: Int
}

It seems this does not get parsed though and the field_private for A is not generated for the code? Does the extend keyword not work?

lthiery avatar Nov 24 '20 18:11 lthiery

It's indeed not implemented yet. There is an old issue about this.

tomhoule avatar Nov 25 '20 07:11 tomhoule

Sorry bout that - didn't come up on my search for 'extend' in Issues...

Anyway, thanks for confirming my suspicion. Feel free to close or leave open as a feature request.

lthiery avatar Dec 01 '20 09:12 lthiery

Let's consider this a feature request :)

tomhoule avatar Dec 01 '20 10:12 tomhoule