Skip to content

Example code of generating the query schema with schemas.rs to be used in documentation, potentially. #46

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

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

JasoonS
Copy link
Contributor

@JasoonS JasoonS commented Oct 8, 2024

Here is what it looks like in the docs: enviodev/docs#491

Some issues and concerns to think about:

  • The strings in the field selection are not being produced in schemas. We need to look at using an array or something else to get this to work. I should also look at the Python and JavaScript clients to see if there's anything relevant we can maybe use.
  • Doing this has made these types slightly more complicated, and we don't have the flexibility of changing case for TypeScripts or Python versions of the API, so maybe we should keep generation of these schemas separate via some script that helps maintain it.

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 this pull request may close these issues.

1 participant