Nikolas

Results 84 issues of Nikolas

The Carbon CLI is really awesome and I love that it's possible to store and reuse a configuration as preset. One thing I'd love to add to the config though...

feature-request

https://github.com/ian/next-graphql ![image](https://user-images.githubusercontent.com/4058327/138885460-d03ef575-1d7d-4528-a4a7-49193dd99ef8.png)

We should have an example that shows how to expose a full CRUD API for Prisma models using `t.crud`.

kind/feature

The tests per example should 1-1 mirror the instructions from the README (incl all sample queries/requests and instructions from the "Evolving the app"-section) to make sure the entire example is...

kind/improvement

Currently tests are using `yarn prisma db push --preview-feature` (e.g. [here](https://github.com/prisma/prisma-examples/blob/latest/.github/tests/typescript/graphql/run.sh#L6)) for the initial setup. They should instead use the same insturctions from the READMEs for setup to ensure there...

kind/improvement

Fro almost all examples, we print a greeting message to instruct the user what to do when the server is running. Right now we're using `\n` to achieve line breaks...

kind/improvement

Right now we don't explicitly `disconnect()` in any of the examples except for the `script` ones.

kind/improvement

![image](https://user-images.githubusercontent.com/4058327/101345644-a7aff880-3887-11eb-8b77-0253694e8470.png)

kind/improvement

Currently some examples in the `experimental` directory contain a dummy database called `dev.db` (e.g. [here](https://github.com/prisma/prisma-examples/tree/prisma2/experimental/typescript/script/prisma)). At the same time, the README instructs to get started from scratch with Prisma Migrate...

kind/improvement

For example, when you create a new user and use their token to create a new post that you immediately want to punlish afterwards, you get a `Not authorised` error...

kind/bug
bug/0-unknown