-
Notifications
You must be signed in to change notification settings - Fork 1.7k
[dg] Serialize component type info with code location, add GQL to power in-app docs #29167
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
Conversation
This stack of pull requests is managed by Graphite. Learn more about stacking. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!
snaps = [get_package_entry_snap(key, obj) for key, obj in library_objects.items()] | ||
|
||
components_json = json.dumps(json_for_all_components(snaps)) | ||
print(components_json) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just for testing?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ah yeah, good catch
d766bfd
to
4194250
Compare
Deploy preview for dagit-core-storybook ready! ✅ Preview Built with commit 823a7ad. |
4194250
to
328ad7e
Compare
Summary
Packages up component type JSON into the repository metadata of
load_defs
, which can be accessed via GraphQL through the newlocationDocsJson
query, which returns contents identical to the generated JSON which powersdg docs serve
.