Skip to content
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

Reduce the generated code in file query_root.rs #130

Closed
karatakis opened this issue Apr 2, 2023 · 0 comments · Fixed by #131
Closed

Reduce the generated code in file query_root.rs #130

karatakis opened this issue Apr 2, 2023 · 0 comments · Fixed by #131
Assignees
Milestone

Comments

@karatakis
Copy link
Collaborator

Motivation

Migrating a SeaORM project into GraphQL can be greatly improved by using the functions provided in the Seaography library.
The problem is that it requires information in the form of code to be passed to the library in order to generate the GraphQL schema, and this information is tedious to be written by hand. In order to solve that Seaography comes with a CLI tool that generates the file, but in case someone wants to configure it manually the generated file requires lots of information. In this issue we will make query_root.rs file to contains only the information it requires.

Proposed Solutions

Use information that SeaORM provide and hide implementation detains from query_root.rs file.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant