Skip to content
#

mutations

Here are 140 public repositories matching this topic...

shahidhk
shahidhk commented Nov 1, 2018

Right now query in the nodejs api is just a string. we should support gql-parsed strings too, so that if they are exported elsewhere, it can be used directly.

import gql from 'graphql-tag';

export const GRAPHQL_QUERY=gql`
  query {
    something {
      anotherthing
    }
  }
`;
JoshuaKGoldberg
JoshuaKGoldberg commented Jul 17, 2019

Right now, the interactive typestat CLI has a hardcoded list of common suggested "which source files would you like to convert?" globs. src/**/*.{ts,tsx} and the like are commonly used by projects. However, the projectPath has already been prompted and the tsconfig.json at that location likely already has some kind of glob that could be added to the list.

Improve this page

Add a description, image, and links to the mutations topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the mutations topic, visit your repo's landing page and select "manage topics."

Learn more

You can’t perform that action at this time.