-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
WIP: Refactor package #117
Conversation
@DxCx @zephraph @eitanfr @davidyaha any thoughts? |
# Conflicts: # package.json # src/engine/codegen.ts # src/handlers/model-handler.ts # src/handlers/operation-handler.ts # yarn.lock
Whew... this is a huge change. Okay, I'll comment as I can go through it... |
@zephraph my goal is to simplify the schema handler first. This is much simpler implementation for the Schema handling, the difference is that I'm creating an array for each GraphQL base type (scalar/enum/type/input...), instead of a single array for all of them together. I also separated it to 3 packages:
|
It might be a good idea to generate a copy of dev-test from master (on all supported variations) and have a test just for comparing final generated outputs. |
# Conflicts: # package.json # yarn.lock
Progress: 99.999%
The goals are:
fs
typescript-single-file
typescript-multi-file
/*gqlgen {{#each types }} */
After merging to master:
flow-single-file
swift-single-file
Ideas: