Socket
Book a DemoInstallSign in
Socket

@charlietango/sort-schema-args

Package Overview
Dependencies
Maintainers
2
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@charlietango/sort-schema-args

Sort arguments in GraphQL schema

latest
npmnpm
Version
1.0.1
Version published
Maintainers
2
Created
Source

Sort Schema Args

Plugin to ensure sorting order of arguments in GraphQL. It should be used with graphql-code-generator/. While not required by the spec, some plugins expect the order to match, or they will fail.

It builds on top of the normal GraphQL introspection plugin, so you can use this instead.

Setup

schema: my-schema.graphql
documents: "./src/**/*.graphql"
generates:
  output.ts:
    - "@charlietango/sort-schema-args"

Umbraco Heartcore fixes

The applies a set of fixes need to fix Umbraco Heartcore.

schema: my-schema.graphql
documents: './src/**/*.graphql'
generates:
  output.ts:
    plugins:
      - '@charlietango/sort-schema-args'
          heartcore: true

FAQs

Package last updated on 17 Mar 2021

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts