Skip to content
#

prisma

Here are 1,750 public repositories matching this topic...

prisma
binary64
binary64 commented Aug 2, 2021

Bug description

On windows, I run prisma format and note the unusual file ending. The lines are all LF, but the very last line is CRLF.

This causes issue on my Linux CI where it formats it ending in LF's only, causing a diff to occur and the build to fail.

How to reproduce

  1. On windows do prisma format
  2. Open in HxD or similar
  3. See attached:

![image](https://user-images.g

cannikin
cannikin commented Feb 15, 2022

Related: redwoodjs/redwood#4489

When calling requireAuth() on the api side, you can pass in an optional list of roles that the user must have in addition to being logged in:

requireAuth({ roles: "admin" })
requireAuth({ roles: ["admin", "moderator"] })

Note that it allows both a string and an array of strings as valid values on the roles

blitz
beerose
beerose commented Nov 1, 2021

What do you want and why?

If a user has a react-final-form with a JS Set (or Map) in the initial values, the form resets on some activities, e.g. switching to another tab.

Possible implementation(s)

This can be fixed by using the initialValuesEqual prop:

import deepEqual from "fast-deep-equal"

    <FinalForm
      initialValues={initialValues}
      initialValues
amplication
prisma-client-py

Improve this page

Add a description, image, and links to the prisma topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the prisma topic, visit your repo's landing page and select "manage topics."

Learn more