You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Dec 31, 2024. It is now read-only.
First off, I have to say this is amazing and should be part of core graphql. There's so many limitations introduced without this feature, so thank you.
Is there any chance this could somehow be implemented with graphql-tools makeExecutableSchema? I find that a large number of larger projects tend to implement their gql schemas with this tool, and if a wrapper function could be made that translates the native gql templated language into the required format a lot more people might find and use this tool.
Hi, sorry for the late reply. I'm glad that someone still finds this useful. Wasn't sure if it still works. The last time I tested was before GraphQL v1.0.
This was a thing I hacked together when playing around with a new cool tech. That's why I implemented all the different API's that came to my mind :). Unfortunately I haven't touched GraphQL since, and I don't even write javascript these days. So I won't be able to catch up and give any meaningful answer.
I will point you to #9 , as the question seems similar. Sorry, that I couldn't help more.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
First off, I have to say this is amazing and should be part of core graphql. There's so many limitations introduced without this feature, so thank you.
Is there any chance this could somehow be implemented with graphql-tools makeExecutableSchema? I find that a large number of larger projects tend to implement their gql schemas with this tool, and if a wrapper function could be made that translates the native gql templated language into the required format a lot more people might find and use this tool.
graphql-tools: https://www.npmjs.com/package/graphql-tools
An example of a wrapper-function that enables inheritance, generic typing, etc in schemas:
https://www.npmjs.com/package/graphql-s2s
(Ideally there would be a similar wrapper function such as:
transpileUnionInputType(schema))
The text was updated successfully, but these errors were encountered: