0.18.0 • Published 9 months ago

@data-eden/codegen v0.18.0

Weekly downloads
-
License
MIT
Repository
github
Last release
9 months ago

@data-eden/codegen

Usage

When writing imports it is important to follow a pattern for queries, mutations and fragments.

As we want to avoid too much work in the babel side we assume convention to offset actual work to the codegen process.

Convention

This showcases the convention for Fragments, but the same applies to oeprations such as Queries and Mutations.

GOOD

const userFieldsFragment = gql`
  fragment UserFields on User {
    id
    username
    role
  }
`;

BAD

const UserFieldsFragment = gql`
  fragment UserFields on User {
    id
    username
    role
  }
`;
const userFields = gql`
  fragment UserFields on User {
    id
    username
    role
  }
`;
0.17.2

10 months ago

0.16.3

10 months ago

0.17.3

10 months ago

0.17.0

10 months ago

0.18.0

9 months ago

0.17.1

10 months ago

0.16.2

10 months ago

0.16.0

11 months ago

0.16.1

11 months ago

0.14.0

11 months ago

0.13.1

11 months ago

0.15.0

11 months ago

0.13.2

11 months ago

0.13.0

11 months ago

0.12.2

11 months ago

0.12.1

11 months ago

0.12.0

11 months ago

0.11.0

11 months ago

0.10.0

11 months ago

0.9.0

11 months ago

0.8.2

11 months ago

0.8.1

11 months ago

0.8.0

11 months ago

0.7.2

12 months ago

0.7.1

12 months ago

0.7.0

12 months ago

0.6.0

12 months ago

0.5.0

12 months ago