Skip to content
#

query

Here are 1,240 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
hmrneves1
hmrneves1 commented Jan 26, 2021

Hello,

I was testing the package and everything works absolutely fine when caching models.

For example if I have a Model with a many-to-many relation, and I update that relation, the cache won't flush and update, even if I use protected static $flushCacheOnUpdate = true;.

I was thinking that those relation could have a separated model and define `protected static $flushCacheOnUpdate = t

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