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

feat: typing - compeller should enfore its own types for the API schema #40

Open
2 tasks
simonireilly opened this issue Feb 5, 2022 · 0 comments
Open
2 tasks

Comments

@simonireilly
Copy link
Owner

Currently, the typing in compeller has been growing from a what can be made to work type specification but the actual typing needs to enforce the required format of the schema document.

Requirements

  • All schemas need to be static, to allow for inference, so must use the JSONSchema type from json-schema-to-ts
  • Since paths don't support ref's it should not be possible to put a ref in a path

Essentially, the document should be richly typed

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

No branches or pull requests

1 participant