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

latest releases: release-1730117942954, @graphql-codegen/visitor-plugin-common@5.5.0, @graphql-codegen/typescript@4.1.1...
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.