Skip to content
#

query

Here are 1,296 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
    }
  }
`;
adelsz
adelsz commented Jan 20, 2021

Currently pgTyped CLI package is using minimist for CLI flag parsing. By design minimist is rather minimal and doesnt provide any advanced features.

To improve the current CLI experience we should switch to yargs.

Things we will get out of the box with yargs:

  • Help command
  • Env variable support
  • Flag value validation
  • Documented default values

Improve this page

Add a description, image, and links to the query 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 query topic, visit your repo's landing page and select "manage topics."

Learn more