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

chore(plugin-search): deprecates apiBasePath from config #10953

Merged

Conversation

jacobsfletch
Copy link
Member

@jacobsfletch jacobsfletch commented Feb 3, 2025

Continuation of #10632. The apiBasePath property in the Search Plugin config is unnecessary. This plugin reads directly from the Payload config for this property. Exposing it to the plugin's config was likely a mistake during sanitization before passing it through to the remaining files. This property was added to resolve the types, but as result, exposed it to the config unnecessarily. This PR marks this property with the deprecated flag to prevent breaking changes.

@jacobsfletch jacobsfletch changed the title Chore/search plugin deprecates api base path config chore(plugin-search): deprecates apiBasePath from config and types custom props Feb 3, 2025
@payloadcms payloadcms deleted a comment from github-actions bot Feb 3, 2025
@jacobsfletch jacobsfletch force-pushed the chore/search-plugin-deprecates-apiBasePath-config branch from c738796 to 31895d5 Compare February 3, 2025 18:32
@jacobsfletch jacobsfletch changed the title chore(plugin-search): deprecates apiBasePath from config and types custom props chore(plugin-search): deprecates apiBasePath from config Feb 3, 2025
@jacobsfletch jacobsfletch enabled auto-merge (squash) February 3, 2025 18:39
@jacobsfletch jacobsfletch merged commit 4a4e90a into main Feb 3, 2025
69 checks passed
@jacobsfletch jacobsfletch deleted the chore/search-plugin-deprecates-apiBasePath-config branch February 3, 2025 19:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant