You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
863: Standardize health method r=bidoubiwa a=alallema
**Description**
Checking that method `health()` return `{'status': 'available'}` and added `isHealthy()` method who return boolean value
**Issue related**
meilisearch/integration-guides#55
**Some points of concern**
- `health` method didn't return json but JSObject
- I define `Health` interface this way, which means API should return `'available'` and this could lead to more maintenance but but it felt cleaner to me
```js
export interface Health {
status: 'available'
}
```
Co-authored-by: alallema <[email protected]>
0 commit comments