prisma
Here are 1,690 public repositories matching this topic...
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
Add `deepEqual` utility to stdlib and use it for `initialValuesEqual` in `react-final-form` template
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-
Updated
Feb 23, 2022 - TypeScript
Let's move the CI over to Github Actions!
-
Updated
Sep 3, 2019 - TypeScript
-
Updated
Feb 22, 2022 - TypeScript
-
Updated
Feb 18, 2022 - TypeScript
-
Updated
Aug 9, 2019 - JavaScript
-
Updated
Feb 17, 2022 - JavaScript
-
Updated
Feb 22, 2022 - TypeScript
-
Updated
Feb 20, 2022 - TypeScript
-
Updated
Feb 23, 2022 - TypeScript
-
Updated
Feb 14, 2022 - TypeScript
-
Updated
Feb 22, 2022 - TypeScript
-
Updated
Feb 9, 2022 - TypeScript
-
Updated
Sep 15, 2021 - TypeScript
-
Updated
Feb 17, 2022 - TypeScript
-
Updated
Sep 26, 2020 - JavaScript
-
Updated
Mar 12, 2018 - Swift
-
Updated
Feb 18, 2022 - TypeScript
-
Updated
Feb 18, 2022 - TypeScript
Improve this page
Add a description, image, and links to the prisma topic page so that developers can more easily learn about it.
Add this topic to your repo
To associate your repository with the prisma topic, visit your repo's landing page and select "manage topics."


Bug description
On windows, I run
prisma formatand 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
![image](https://user-images.g