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

Define settings config schema to improve DX #256

Open
norkunas opened this issue Jun 7, 2023 · 0 comments
Open

Define settings config schema to improve DX #256

norkunas opened this issue Jun 7, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@norkunas
Copy link
Collaborator

norkunas commented Jun 7, 2023

Description
Based on request from #253

Not validating the configuration schema properly is error prone. Had some hard times when just got Meilisearch\Exceptions\ApiException: Json deserialize error: invalid type: map, expected a sequence at line 1 column 0 and how should I know which config setting is related? So imho we should properly validate all the settings for a better DX.

Basic example
-

Other
-

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants