github dotansimha/graphql-code-generator @graphql-codegen/c-sharp@1.18.0

latest releases: release-1711538187754, @graphql-codegen/time@5.0.1, @graphql-codegen/client-preset@4.2.5...
3 years ago

Minor Changes

  • 9e0f639: This release adds support to optionally emit c# 9 records instead of classes.

    To enable this, add emitRecords: true to your codegen yaml or json configuration file. Example:

    schema: './types.graphql'
    generates:
      ./src/types.cs:
        plugins:
          - c-sharp
    config:
      namespaceName: My.Types
      emitRecords: true
      scalars:
        DateTime: DateTime

Patch Changes

  • Updated dependencies [5749cb8]
  • Updated dependencies [5a12fe5]
    • @graphql-codegen/visitor-plugin-common@1.18.3

Don't miss a new graphql-code-generator release

NewReleases is sending notifications on new releases.