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

Make config() path arg optional in v4 plugin API #14799

Merged
merged 6 commits into from
Oct 28, 2024

Conversation

thecrypticace
Copy link
Contributor

Fixes #14797

The config() function in v3 had an optional path argument and when it wasn't provided it returned the resolved config directly so we need to do the same here.

I've also added a future key to the config objects / types.

cc @adamwathan any objection to adding this or do you think we can get by without it?

@thecrypticace thecrypticace requested a review from a team as a code owner October 26, 2024 01:01
@adamwathan
Copy link
Member

Makes sense to me for this to work for BC 👍

Copy link
Member

@adamwathan adamwathan left a comment

Choose a reason for hiding this comment

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

Just needs a changelog entry then can approve + merge 👍

CHANGELOG.md Outdated Show resolved Hide resolved
@thecrypticace thecrypticace merged commit e14ab1f into next Oct 28, 2024
1 check passed
@thecrypticace thecrypticace deleted the feat/v4-plugin-config-no-path branch October 28, 2024 16:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

config is not fully compatible in plugin layer
2 participants