Skip to content
This repository was archived by the owner on Dec 31, 2024. It is now read-only.
This repository was archived by the owner on Dec 31, 2024. It is now read-only.

Any chance of a wrapper for native gql and makeExecutableSchema? #13

@Nik-Novak

Description

@Nik-Novak

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))

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions