Skip to main content

GraphQL Utils

This package provides various utilities that can be used in a GraphQL based GenesisX app.

Usage

info

This package is a supplimentary package for @genesisx/graphql , and provides utility methods for the same. It gets installed along with the above said package however in order to use its utility methods you can install is seprately as well by following below steps.

Note: Its just a utility and not an application generator.

Pre-requisites

  • Make sure you are on correct version of Nodejs 18.x and Nx Version 16.6
    node --version
    nx --version
  • To start with, create a new GenesisX workspace in an empty directory, run below command, of if you already have the workspace ready , please skip this step.
    npx @genesisx/create-workspace
    • Provide the requested parameters
    • Provide name to your workspace like test-workspace
    • Move to the created workspace - cd test-workspace
    • Install the packages
      yarn install
  • Install GraphQL Utils package
    yarn add @genesisx/graphql-utils

More details & Troubleshooting

Visit the troubleshooting guide for common issues or refer to the readme.md file located within the package folder <workspace-folder>/node_modules/@genesisx/graphql-utils/README.md