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

Migrate schemaless demo to typescript, use material-ui and Monaco editor #19

Merged
merged 28 commits into from
May 24, 2022

Conversation

paavanb
Copy link
Collaborator

@paavanb paavanb commented May 24, 2022

No description provided.

@paavanb paavanb merged commit 01d6382 into main May 24, 2022
@paavanb paavanb deleted the schemaless-typescript branch May 24, 2022 22:28
Copy link
Owner

@obi1kenobi obi1kenobi left a comment

Choose a reason for hiding this comment

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

Thanks for putting this together!

Comment on lines +3 to +9
import actions_in_repos_with_min_hn_pts from '../../../schemaless/example_queries/actions_in_repos_with_min_hn_pts.graphql';
// @ts-ignore
import crates_io_github_actions from '../../../schemaless/example_queries/crates_io_github_actions.graphql';
// @ts-ignore
import hackernews_patio11_own_post_comments from '../../../schemaless/example_queries/hackernews_patio11_own_post_comments.graphql';
// @ts-ignore
import repos_with_min_hackernews_points from '../../../schemaless/example_queries/repos_with_min_hackernews_points.graphql';
Copy link
Owner

Choose a reason for hiding this comment

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

Does this just read the raw string into the import variable?

Copy link
Collaborator Author

@paavanb paavanb May 25, 2022

Choose a reason for hiding this comment

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

Yep. If we want to "do this right", I'd create a separate example queries dir inside this folder! If you look at the webpack config, you'll see that I set it up so that importing graphql files reads as raw strings.

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