Giter VIP home page Giter VIP logo

prisma-supabase-rls-example's Introduction

READ Before Getting Started

This repository accompanies the Blog Post on Using Prisma with Supabase Row Level Security and Multi-Schema

Before getting started, make sure you do the following:

  1. Create a Supabase Project
  2. Make a .env file
  3. You should most likely follow the Blog Post and Guide above. This project is the end-state of that guide

prisma-supabase-rls-example's People

Contributors

ngoctranfire avatar

Stargazers

yaoshengli avatar Nikola Rusakov avatar Mohammed Foud Mohammed  avatar Jonathan avatar Irham Tri Ahmadi avatar Trésor Muco avatar

Watchers

James Cloos avatar  avatar

prisma-supabase-rls-example's Issues

useSupabaseRowLevelSecurity.ts has typeError

'(client: PrismaClient) => DynamicClientExtensionThis<Prisma.TypeMap<InternalArgs & { result: {}; model: {}; query: {}; client: {}; }>, Prisma.TypeMapCb, { result: {}; model: {}; query: {}; client: {}; }>' 형식의 인수는 '{ name?: string; query?: DynamicQueryExtensionArgs<{ $queryRaw?: unknown; $executeRaw?: unknown; $queryRawUnsafe?: unknown; $executeRawUnsafe?: unknown; members?: unknown; $allModels?: unknown; $allOperations?: unknown; }, TypeMap<InternalArgs & DefaultArgs>>; result?: DynamicResultExtensionArgs<...>; model?: Dynami...' 형식의 매개 변수에 할당될 수 없습니다.
'(client: PrismaClient) => DynamicClientExtensionThis<Prisma.TypeMap<InternalArgs & { result: {}; model: {}; query: {}; client: {}; }>, Prisma.TypeMapCb, { result: {}; model: {}; query: {}; client: {}; }>' 형식은 '(client: DynamicClientExtensionThis<TypeMap<InternalArgs & DefaultArgs>, TypeMapCb, DefaultArgs>) => { ...; }' 형식에 할당할 수 없습니다.
'client' 및 'client' 매개 변수의 형식이 호환되지 않습니다.
'DynamicClientExtensionThis<TypeMap<InternalArgs & DefaultArgs>, TypeMapCb, DefaultArgs>' 형식에 'PrismaClient<PrismaClientOptions, never, DefaultArgs>' 형식의 $on, $use 속성이 없습니다.ts(2345)

  it is korean version ... but How can I Fix it?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.