Skip to content
#

prisma

Here are 1,076 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

blitz
Nfinished
Nfinished commented Sep 15, 2021

Updated Issue

The below issue was caused because the file was not named [...auth].js, it was named something like passport.js. And in this case auth is not a dynamic param and so req.query.auth is undefined.

We need to provide helpful error in these two cases:

  1. req.query.auth not defined - page must be named [...auth].js/ts
  2. req.query.auth is defined, but not array - p
amplication
yuval-hazaz
yuval-hazaz commented Sep 1, 2021

Is your feature request related to a problem? Please describe.
The User object is available using the @userdata decorators in GraphQL. Also, it is available as part of the request object.
This is not the current case with REST API - but it should.

Describe the solution you'd like
Make sure the User object is available on the request, also consider adding a @userdata decorator for

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