Skip to content

🎉 v2.2.0 released

Compare
Choose a tag to compare
@medz medz released this 20 Sep 07:01
· 1139 commits to main since this release
1d0abc3

🌟 Help us spread the word about Prisma ORM for Dart by starring the repo or Tweeting about the release. 🌟

Major improvements:

Input object Types without PrismaUnion wrapper, Before:

final User user = await prisma.user.create(
   data: PrismaUnion(
      zero: UserCreateInput(name: 'odroe'),
   ),
);

After:

final User user = await prisma.user.create(
   data: UserCreateInput(name: 'odroe'),
);

Bug fixes:

  • Nullable fields generating broken field implementations - #23

Features:

  • Add precache command, Populate the Prisma engines cache of binary artifacts.