Comments (3)
Hey @zingerj, what i do in my project i create this files in src/types/models folder and Queries in src/types/queries Mutations src/types/mutations and any custom types i create it into the file i use it
Example i need to create custom input for query i will create input type in this query file
I hope this help you because looking to old file not an option in my tool
Thanks
from create-nexus-type.
Ah okay, makes sense. I'm still a little unclear though. Could you provide a quick example to help me understand?
from create-nexus-type.
like you see i have src/types folder inside it i have models folder this generated files by my tool and other two folder for my custom work
you can change your out put dir by this flag --outDir=src/types/models
from create-nexus-type.
Related Issues (8)
- Comment lines are not ignored HOT 1
- "convertSchema is not a function" HOT 1
- Doesn't work with Prisma 2.0.1 HOT 1
- There are problems when compiling to JS HOT 2
- TypeError: Cannot read property 'includes' of undefined HOT 12
- Field named model inside model fails to generate code HOT 1
- Support Nexus framework HOT 2
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 create-nexus-type.