Comments (4)
it works, but the generated code doesn't follow all best practices, and is a little less useful than I would like. You can definitely use it as a starting point if you want, and I'd be happy to help if you have questions, but I want to build something better before documenting it as a recommended tool. I have some experimental work in that direction, and a solid idea of where I'd like to take it, but the current form is not something that meets the quality bar for what I want to document in Pothos as a recommended tool.
from pothos.
It's not very polished. It is mostly a proof of concept. I think it works, but the CLI is very bad. My plan had been to just have the converter embedded in the docs. Feel free to add it to the docs with a warning about it being very rough
from pothos.
Also, I think when I wrote it, defining types I'm the schema builder generic was the only option (vs using classes or object refs, which are a much better default). Probably worth updating at some point soon
from pothos.
@hayes what is the current status of the converter
from pothos.
Related Issues (20)
- Prisma `t.relatedConnection` Failing to Throw Typing Errors HOT 2
- Authz Plugin overwrites the directives plugin HOT 4
- Question: How to use t.connection to behave like t.relatedConnection HOT 3
- Indirect prisma relations has type errors. HOT 3
- Can prismaConnectionHelpers provide totalCount field? HOT 2
- Sentry tracing not showing the field name in description HOT 1
- Setting auth scope based on a returned type HOT 2
- Prisma plugin failing on call to builder.prismaObject() HOT 8
- `withAuth` and `authScopes` don't combine HOT 2
- Argument of type 'string' is not assignable to parameter of type 'never' HOT 2
- Pothos subscriptionField + withFilter are breaking the type inference of subscription arguments HOT 5
- How to support HMR with Pothos HOT 2
- loadableGroup load/group seems to infer the wrong type HOT 2
- Please review this pr adding progressive override to your federation plugin
- Prisma generator generate wrong imports when using ESM HOT 2
- Pitfall when calling a schema locally from another schema using auth scopes
- [Suggestion] SubGraph-specific context type with subgraph plugin HOT 1
- Make possible to check type of a InputFieldRef during runtime HOT 3
- How do I use relayMutationField & authField/withAuth work together? HOT 2
- Draft new release for `@pothos/tracing-sentry` HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pothos.