Giter Club home page Giter Club logo

Comments (4)

maoosi avatar maoosi commented on May 27, 2024

Thanks @cipriancaba! The next version is close to being released. I’m planning on finalising the remaining tasks and documentation writing after I am back from my current holiday.

At this stage, there is no preview command you can use to automate installation - however, you can clone the maoosi/dev branch (most up to date) and manually copy files from inside the packages/boilerplate directory - which include a CDK file (using aws-cdk v2).

from prisma-appsync.

cipriancaba avatar cipriancaba commented on May 27, 2024

Makes sense, that's what I was planning to do.. Thanks for the hard work and enjoy your holiday

On an unrelated note, is there an option to allow for opt-in generation of crud endpoints os opposed to opt-out? As in, don't want all the models to have cruds, just some of them

from prisma-appsync.

maoosi avatar maoosi commented on May 27, 2024

Using the new coming version, you'll be able to do the following from your Prisma schema file:

/// @gql(queries: null, mutations: null, subscriptions: null)
model Post {
  id       Int       @id @default(autoincrement())
  title    String
}

Or tweak the output using something like:

/// @gql(queries: { list: 'posts' }, subscriptions: null)
model Post {
  id       Int       @id @default(autoincrement())
  title    String
}

from prisma-appsync.

cipriancaba avatar cipriancaba commented on May 27, 2024

This was incredibly helpful, using v2 with great success. Amazing job

from prisma-appsync.

Related Issues (20)

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.