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

Added GetSchema endpoint [experimental] #126

Merged
merged 46 commits into from
Jul 30, 2018
Merged

Conversation

adamstruck
Copy link
Contributor

@adamstruck adamstruck commented Jul 6, 2018

GET /v1/graph/{graph}/schema

Only implemented for mongo. Schema is inferred from a random sample of 500 (this number is configurable) vertices/edges for each label. Schemas are calculated and cached on startup and then periodically updated (default every 3 hrs).

Graphql handler was updated to use this endpoint.

Also moves around some code to make the database backend code more organized.

@adamstruck
Copy link
Contributor Author

adamstruck commented Jul 20, 2018

TODO:

  • update graphql docs on website

Copy link
Member

@kellrott kellrott left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks Good

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.

2 participants