question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[Feature Request] Prisma

See original GitHub issue

Hey 👋 . I’ve been tracking Nx with interest for a little while as a possible Lerna successor for a larger project I’m involved with. I’m starting a new side project involving Next, Node, and Prisma, and thought about giving this a try and understanding how it all fits together through the CI pipeline and deployment as a learning exercise. I’m doing that here (no promises on that repo, though! 🤗 ).

I’d like to make a request to add Prisma as a capability. Thinking through what this might look like a little:

  • Running the Prisma Server/Connecting it to a DB
  • Publishing schema updates
  • Syncing generated GraphQL types
  • Syncing generated my-prisma-app’s client (generated in .ts, for example)
  • Support for cli commands like seed, playground, export, import, etc (see more here)

Given you already have support for web components too (🎉)… I’d be a happy camper!

Unsure if this is in your wheelhouse already, but I couldn’t find any other issues around Prisma or guidance around adding a new capability (certainly could have missed it). If I’m running into this need, chances are, others are too, so I wanted to open an issue because of that.

Thanks for the consideration!

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Reactions:19
  • Comments:6 (1 by maintainers)

github_iconTop GitHub Comments

9reactions
cyrus-zacommented, Oct 14, 2020

Seeing as Prisma 2 launched and is getting huge community adoption, I’d like to bump this. I’m also going to log a issue with the prisma team to see if they can write a nx plugin and maintain it as prisma evolves.

Seeing as prisma is now more of an ORM than a framework and the graphql side of things are not part of prisma itself but @nexus/schema I’d like to also request a plugin for that (or a option to configure the prisma server setup in the plugin).

Just like in @nrwl/react one can choose whether to use sass, styled-components, emotion etc by specifying the --style flag I’d like to be able to specify --server=“apollo-express” --graphql-schema=“nexus” or similar. Nexus schema can run with apollo server or graphqljs or many other servers under the hood and apollo can run with express/koa/hapi etc. Best would be to default to nexus,apollo,express but config is key to cater for the broader community.

The prisma plugin should setup a schema when booted up and preconfigrue the prisma generate, studio and migrate commands and spin up a test folder using jest etc.

3reactions
cyrus-zacommented, May 6, 2021

@vsavkin please reopen this. It’s got enough thumbs up to make it a priority rather than a bot auto-closing it

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to Use Palo Alto Networks New-Feature Request
Did you know that you can request new features? If you notice a missing functionality or are in need of an enhancement, here's...
Read more >
Troubleshooting - Prisma
Need help? Refer to our Support site for full information about getting help. Take a look at some common issues and their resolutions...
Read more >
Feature request/Clarification on Prisma2 functionalities #950
Hi, I'm currently creating an app that lets user connect to a particular database and read/extract info from the introspected columns.
Read more >
Permission Groups API | Prisma Developer Docs
import requests url = "https://api.prismacloud.io/authz/v1/feature" headers = {"x-redlock-auth": "REPLACE_KEY_VALUE"} response = requests.request("GET", ...
Read more >
Palo Alto Networks adds new AI features to its Prisma SASE ...
Prisma SASE includes a tool for blocking network requests from malicious URLs or web addresses that, according to Palo Alto Networks, has been ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found