TGTGamer / SCAA

An open-source software for integrating streaming & gaming software, completely serverless with integration with discord, twitch, youtube, facebook and much more!
GNU General Public License v3.0
0 stars 0 forks source link

maint(deps-dev): bump typegraphql-prisma from 0.10.2 to 0.10.3 #185

Open dependabot[bot] opened 3 years ago

dependabot[bot] commented 3 years ago

Bumps typegraphql-prisma from 0.10.2 to 0.10.3.

Release notes

Sourced from typegraphql-prisma's releases.

0.10.3

Changelog

  1. The Prisma 2.16 preview feature createMany is now supported 🚀 You can now execute batch insert mutations in a breeze:

    mutation CreateManyProblems {
      createManyProblem(
        data: [{ problemText: "problem1" }, { problemText: "problem2" }]
      ) {
        count
      }
    }
    
  2. The v0.10.3 release now supports adding decorators to the input types and args type classes and their fields 🎉 This feature might be very helpful if you want to e.g. add validation using class-validator library:

    import {
      applyInputTypesEnhanceMap,
      applyArgsTypesEnhanceMap,
    } from "./prisma/generated/type-graphql";
    

    applyArgsTypesEnhanceMap({ CreateProblemArgs: { fields: { data: [ValidateNested()], }, }, });

    applyInputTypesEnhanceMap({ ProblemCreateInput: { fields: { problemText: [MinLength(10)], }, }, });

    More info available in the docs: https://github.com/MichalLytek/typegraphql-prisma/blob/v0.10.3/Readme.md#additional-decorators-for-prisma-schema-classes-and-fields

Commits
  • fc7cfa7 release: 0.10.3
  • 036c399 Support adding decorators for input types and args type classes
  • dd60ace Add support for createMany preview feature
  • See full diff in compare view


Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)