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

promote include_subgraph_errors plugin #1776

Merged
merged 2 commits into from
Sep 14, 2022
Merged

Conversation

garypen
Copy link
Contributor

@garypen garypen commented Sep 14, 2022

It has been experimental for a while and is now official.

fixes: #1773

It has been experimental for a while and is now official.

fixes: #1773
@garypen garypen self-assigned this Sep 14, 2022
Copy link
Member

@abernix abernix left a comment

Choose a reason for hiding this comment

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

LGTM! one comment on CL.

NEXT_CHANGELOG.md Show resolved Hide resolved
@garypen garypen merged commit 866a4cf into main Sep 14, 2022
@garypen garypen deleted the garypen/1773-promote-plugin branch September 14, 2022 12:09
@BrynCooke
Copy link
Contributor

I was too late to comment on this. I'm not massively keen on the name of the plugin, and feel that eventually it could be part of a larger dev plugin in the config. I guess if and when that happens we can just deprecate this one.

@abernix
Copy link
Member

abernix commented Sep 14, 2022

@BrynCooke Let's definitely chat about it. I agree this will need to evolve, though many production users have actually taken the effort to make their subgraph errors meaningful and safe and want them exposed, so they'll want a way to do that.

@@ -189,7 +189,7 @@ impl Configuration {
Value::Bool(true),
);
self.plugins.plugins.as_mut().unwrap().insert(
"experimental.include_subgraph_errors".to_string(),
"apollo.include_subgraph_errors".to_string(),
Copy link
Contributor

Choose a reason for hiding this comment

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

Hmmm I think now it's an apollo one, it's no longer located in self.plugins but in self.apollo_plugins isn't it ?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I thought it was. User plugins are separate, but I thought experimental and apollo lived together

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I think it is in the wrong place, but the processing of mandatory plugins positions it correctly. We should still fix this at some point.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

see: #1777

abernix added a commit that referenced this pull request Sep 14, 2022
@abernix abernix mentioned this pull request Sep 14, 2022
@garypen garypen mentioned this pull request Sep 15, 2022
garypen added a commit that referenced this pull request Sep 15, 2022
Remove the "experimental" designation from the side-bar.
follow up to: #1776 
fixes: #1773
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.

Promote include_subgraph_errors plugin out of experimental
5 participants