Skip to content
This repository was archived by the owner on Sep 3, 2021. It is now read-only.

Feature request: Allow augmentation to accept parsed typeDefs from 'gql' tag #422

Closed
michaeldgraham opened this issue May 2, 2020 · 0 comments

Comments

@michaeldgraham
Copy link
Collaborator

michaeldgraham commented May 2, 2020

Currently, the schema augmentation functions only accept typeDefs in the format of a string containing SDL. This issue requests support for passing parsed typeDefs to the augmentation functions. This occurs, for example, when a gql tag is applied on typeDefs:

import { gql } from "apollo-server";

const typeDefs = gql`
  type User {
    id: ID!
    username: String
  }
`;
@michaeldgraham michaeldgraham changed the title Feature request: Allow augmentation to accept parsed typeDefs Feature request: Allow augmentation to accept parsed typeDefs May 2, 2020
@michaeldgraham michaeldgraham changed the title Feature request: Allow augmentation to accept parsed typeDefs Feature request: Allow augmentation to accept parsed typeDefs from gql tag May 2, 2020
@michaeldgraham michaeldgraham changed the title Feature request: Allow augmentation to accept parsed typeDefs from gql tag Feature request: Allow augmentation to accept parsed typeDefs from 'gql' tag May 2, 2020
# for free to subscribe to this conversation on GitHub. Already have an account? #.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant