-
Notifications
You must be signed in to change notification settings - Fork 73
What I need to replace Prisma with Graphback #1260
Comments
Almost all of this is going to land in 2 next releases. Sadly we cannot let go annotations unless some strong limitation will be posted. CRUD is going to land next release 0.14 We planning to do alpha release of 0.14 in comming days for testing. Really good times as all your points in 99% matching our roadmap if we forget about annotations. Also in this release we moved from code generated resolvers to resolvers out of the box. the code ones could not be edited this were not that useful |
Can we have separate issue about subscriptions - that sounds interesting and I would like to chat with the team about details. Technically we can disable subscriptions on one server by CRUD options and enable subscriptions on anotur but having lambda for this is something new and we seen some community traction already |
I love it! Serverless subscriptions issue: #1261 |
I'm attempting to try out the new features with v0.14.0-dev3. I've installed graphback@0.14.0-dev3, and graphback-cli@0.14.0-dev3 Do I need to use graphback-cli@0.14.0-dev3? It doesn't seem to create an executable in the node_modules/.bin directory. When I run npx graphback-cli config, it looks like npm might be downloading and using the current released version of graphback-cli, so I'm not sure if my config is correct |
We released first
Note that we still testing and improving stuff for 0.14.0. |
|
Things have been going very well for me today! I've started to incorporate graphback into a large project to get rid of Prisma. One significant issue I am facing is a limitation with filtering. Prisma had a way to filter across relationships. This is especially useful when filtering across a one to many relationship. I have a one-to-many relationship from an entity called Companies, to an entity called Invoices. Each company has many invoices. I want to be able to filter all companies based on fields in the invoices. For example, I would write something like this with Prisma: query($forMonth: String!) {
companies(
where: {
canceled: false
invoices_some: {
for_month: $forMonth
}
}
) {
id
} This allows me to get all companies where at least one invoice is in the month I am searching for. Can graphback support this type of filtering? |
I've updated my list of missing features |
Thanks a lot for this issue! We have created several issues using this feedback so I will close this one. |
I've mentioned some of these things before, but hopefully no one minds if I put them all right here. I am in the middle of a large refactor for my current employer. Prisma has caused some serious infrastructural issues, being needlessly complex. Graphback looks to be able to solve many if not all of the issues I've had with Prisma, while maintaining the benefits. The following are features that I need or want Graphback to support before being able to move away from Prisma entirely:
The text was updated successfully, but these errors were encountered: