Skip to content

feat(client): add types to middleware params.model#4161

Merged
timsuchanek merged 5 commits intomasterfrom
feat/client/middleware-params-model-types
Nov 6, 2020
Merged

feat(client): add types to middleware params.model#4161
timsuchanek merged 5 commits intomasterfrom
feat/client/middleware-params-model-types

Conversation

@williamluke4
Copy link

closes #3545

@williamluke4 williamluke4 added this to the Release 2.11.0 milestone Nov 5, 2020
@timsuchanek
Copy link
Contributor

As always, please add a test for this new feature.
In this case, please add a test for the types here:
https://github.com/prisma/prisma/tree/master/src/packages/client/src/__tests__/types

@williamluke4 williamluke4 force-pushed the feat/client/middleware-params-model-types branch 2 times, most recently from c78c686 to 96b63d3 Compare November 5, 2020 11:54
@williamluke4 williamluke4 force-pushed the feat/client/middleware-params-model-types branch from ce9f0f3 to 911e820 Compare November 6, 2020 10:31
@timsuchanek timsuchanek merged commit e851a76 into master Nov 6, 2020
@timsuchanek timsuchanek deleted the feat/client/middleware-params-model-types branch November 6, 2020 11:32
Jolg42 added a commit that referenced this pull request Nov 9, 2020
* master:
  fix: bump engines (#4192)
  fix: finish transaction stabilization (#4191)
  fix: make getErrorMessageWithLink more resilient
  fix(client): fix #4083 (#4189)
  chore(deps): update studio to v0.310.0 (#4187)
  chore: bump @prisma/bar
  improvement(migrate): better error message for nativeTypes (#4188)
  chore(migrate): fix internal migrate tryLoadEnvs for dev
  chore: update pnpm-lock [skip ci]
  chore(deps): update devdependencies (non-major)
  feat(client): add types to middleware params.model (#4161)

# Conflicts:
#	src/packages/migrate/src/bin.ts
#	src/packages/migrate/src/utils/ensureDatabaseExists.ts
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Middleware params model should be an enum or union of strings.

2 participants