Skip to content
#

prisma

Here are 511 public repositories matching this topic...

kevinsimper
kevinsimper commented Apr 6, 2020

This issue pertains to the following package(s):

  • GraphQL Playground - Electron App
  • GraphQL Playground HTML
  • GraphQL Playground
  • GraphQL Playground Express Middleware
  • GraphQL Playground Hapi Middleware
  • GraphQL Playground Koa Middleware
  • GraphQL Playground Lambda Middleware

The default value of request.credentials is "omit". The differs from th

blitz
flybayer
flybayer commented Apr 25, 2020

Blitz needs to export a useInfiniteQuery hook that's a thin wrapper on the useInfiniteQuery hook from react-query. This will be done very similar to how we are wrapping the useQuery hook.

  • Output of useInfiniteQuery should be fully typed
  • Add this to the example store app
import { useInfiniteQuery } from 'blitz'
import getProducts from '/app/products/queries/getProducts'
gabrielcolson
gabrielcolson commented Apr 10, 2020

If I have a model with only one field in my schema and if that field is an autoincremented int, nexus-prisma throws an error.

For example, this fails:

model User {
  id Int @id @default(autoincrement())
}

While this does not:

model User {
  id Int @id @default(autoincrement())
  username String @unique
}

Fun fact, this does not fail either:

model User {
bag-man
bag-man commented Dec 6, 2018

The graphqlgen prepare step fails on yarn setup:prisma

shop (mashop (master) λ  yarn setup:prisma
yarn run v1.12.3
$ cd api && yarn deploy:local && yarn seed:local
$ docker-compose -f database/docker-compose.yml up -d && prisma deploy && graphql prepare
database_mysql_1 is up-to-date
database_prisma_1 is up-to-date
Deploying service `shop` to stage `local` to server `local` 39ms
S
jarkin13
jarkin13 commented Mar 20, 2020

I only using this for language syntax.

Actual Behavior

  • Opening, creating, editing and saving graphql files results in an error

Expected Behavior

  • View graphql with language mode
  • Being able to open, create, edit and save file without error

Steps to Reproduce the Problem Or Description

  • Create profile, specifically I have an aws amplify project
  • add api to proj
Xaedblade
Xaedblade commented Mar 31, 2020

I am getting the below error when installing the new alpha25 version. It looks like it desires the .env file to be in a prisma folder, but my folder is called tenant. As I have a folder for multitenant use and a folder for shared database.

Unknown Error!
Error: Couldn't find the prisma/.env file
at /Users/username/Development/project/backend/src/prisma/tenant/node_modules/prisma-multi-ten

Dev-Dipesh
Dev-Dipesh commented Sep 4, 2019

I have deployed the Prisma server locally in Docker with managementApiSecret and also defined it in prisma.yml. Now, there are two issues I'm facing.

  1. Prisma server link http://localhost:4466 from Docker is accessible without setting any header. How can I secure that?

  2. When Graphql Shield is disabled I can query documents on http://localhost:1337 by setting the **Authoriz

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

You can’t perform that action at this time.