Skip to content

Create yaml config design guidance#2159

Merged
BrynCooke merged 16 commits intodevfrom
bryn/yaml-config-guidance
Dec 7, 2022
Merged

Create yaml config design guidance#2159
BrynCooke merged 16 commits intodevfrom
bryn/yaml-config-guidance

Conversation

@BrynCooke
Copy link
Contributor

Fixes #2158

@BrynCooke BrynCooke self-assigned this Nov 25, 2022
@BrynCooke BrynCooke force-pushed the bryn/yaml-config-guidance branch from cde31c6 to 9093b12 Compare November 25, 2022 11:07
Copy link
Contributor

@bnjjj bnjjj left a comment

Choose a reason for hiding this comment

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

I think you should also provide guidance to use supergraph instead of router and so one. That might be helpful

@Geal
Copy link
Contributor

Geal commented Nov 28, 2022

maybe add one part about avoiding negative options ie

plugin:
  disable: true

We run regularly into those and they always make things confusing

BrynCooke and others added 5 commits November 28, 2022 12:29
Co-authored-by: Geoffroy Couprie <geoffroy@apollographql.com>
Co-authored-by: Geoffroy Couprie <geoffroy@apollographql.com>
Co-authored-by: Geoffroy Couprie <geoffroy@apollographql.com>
Co-authored-by: Geoffroy Couprie <geoffroy@apollographql.com>
Co-authored-by: Geoffroy Couprie <geoffroy@apollographql.com>
Copy link
Contributor

@o0Ignition0o o0Ignition0o left a comment

Choose a reason for hiding this comment

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

This looks great!

BrynCooke and others added 6 commits December 6, 2022 10:52
Co-authored-by: Jeremy Lempereur <jeremy.lempereur@iomentum.com>
Co-authored-by: Jeremy Lempereur <jeremy.lempereur@iomentum.com>
@BrynCooke
Copy link
Contributor Author

Guidance on negative options was added in 2f3193a

@BrynCooke BrynCooke requested review from Geal and bnjjj December 6, 2022 11:10
Copy link
Contributor

@bnjjj bnjjj left a comment

Choose a reason for hiding this comment

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

It looks good ! I'm just concern about checking these rules every time, unfortunately it's not automated but we should all be careful about this when reviewing a PR

@BrynCooke BrynCooke enabled auto-merge (squash) December 7, 2022 13:46
@BrynCooke BrynCooke merged commit 141c0f4 into dev Dec 7, 2022
@BrynCooke BrynCooke deleted the bryn/yaml-config-guidance branch December 7, 2022 14:05
@BrynCooke BrynCooke added this to the v1.6.0 milestone Dec 13, 2022
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.

Create yaml config design guidance

4 participants