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

fix: empty array is valid api config #2788

Merged
merged 3 commits into from
Oct 21, 2024
Merged

fix: empty array is valid api config #2788

merged 3 commits into from
Oct 21, 2024

Conversation

sweatybridge
Copy link
Contributor

@sweatybridge sweatybridge commented Oct 21, 2024

What kind of change does this PR introduce?

Bug fix

What is the new behavior?

Empty array is a valid config if user doesn't want to expose any schemas or search paths.

[api]
schemas = []
extra_search_path = []

Additional context

Add any other context or screenshots.

@sweatybridge sweatybridge requested a review from avallete October 21, 2024 15:21
pkg/config/api.go Outdated Show resolved Hide resolved
@sweatybridge sweatybridge merged commit ce904a1 into develop Oct 21, 2024
13 checks passed
@sweatybridge sweatybridge deleted the fix-api branch October 21, 2024 16:02
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.

2 participants