-
Notifications
You must be signed in to change notification settings - Fork 44
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
Separate and includable input schema files #188
Comments
That's doable and shouldn't be hard to implement |
That would be great, would we be able to preserve line numbers in parsing errors that match the original files? |
We don’t track line numbers when an error is thrown, just report the name of the entity |
Ok, guess its a moot point then, looking forward to trying when available. |
I think the simplest way to do this, without having to deal with dependencies problems, is perhaps to just allow the manifest to take multiple input file entries, and not introduce some complex directive or other means of including schema files into each other. That buys us the basic ability to break things up we need. |
* Separate schema files #188 * Update .gitignore * Refactored SchemaParser to accept folders * test for separate includable schema files * fixing relative path in codegen * Update SchemaParser.ts Lint error, unused import fix * Changelog and version bump * Update package.json Updating sample project hydra-cli version * reverting relative path fix
* Separate schema files Joystream#188 * Update .gitignore * Refactored SchemaParser to accept folders * test for separate includable schema files * fixing relative path in codegen * Update SchemaParser.ts Lint error, unused import fix * Changelog and version bump * Update package.json Updating sample project hydra-cli version * reverting relative path fix
* Separate schema files Joystream#188 * Update .gitignore * Refactored SchemaParser to accept folders * test for separate includable schema files * fixing relative path in codegen * Update SchemaParser.ts Lint error, unused import fix * Changelog and version bump * Update package.json Updating sample project hydra-cli version * reverting relative path fix
Its getting exceedingly hard to manage everything in one file, its quite clearly not going to scale, so being able to have separate files where one can include one into another as a dependency, similar to C/C++ header files in a preprocessing stage.
The text was updated successfully, but these errors were encountered: