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

Add option to not raise if non-matching schema name #693

Merged
merged 1 commit into from
Mar 6, 2020

Conversation

Radu-Raicea
Copy link
Contributor

ApolloClient is generating, in the same directory as my schemas, a shopify-schema-unions-and-interfaces.json file. This makes initialize_clients raise an exception when it encounters it.

Unfortunately, ApolloClient does not allow to disable the creation of that file, or to give it a different name.

After talking to @swalkinshaw on Slack, we decided that putting an option to not raise on initialize_clients was the best approach for now.

@Radu-Raicea Radu-Raicea requested a review from a team as a code owner March 5, 2020 22:39
@Radu-Raicea Radu-Raicea force-pushed the do-not-raise-on-schema-name-invalid branch from 5080762 to 01703c9 Compare March 5, 2020 22:40
Copy link
Contributor

@swalkinshaw swalkinshaw left a comment

Choose a reason for hiding this comment

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

Awesome thank you 🎉

@Radu-Raicea Radu-Raicea merged commit 3f1f7dd into master Mar 6, 2020
@Radu-Raicea Radu-Raicea deleted the do-not-raise-on-schema-name-invalid branch March 6, 2020 14:49
@Radu-Raicea Radu-Raicea temporarily deployed to rubygems March 6, 2020 15:04 Inactive
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.

3 participants