feat: improve error response when the requested schema is invalid

- It now shows the invalid schema in the "message"
- The exposed schemas are now listed in the "hint" instead of the "message"
This commit is contained in:
Laurence Isla
2025-05-15 02:21:00 +00:00
parent 605d82285d
commit 0b3c8c98d8
4 changed files with 17 additions and 10 deletions
+6
View File
@@ -5,6 +5,12 @@ This project adheres to [Semantic Versioning](http://semver.org/).
## Unreleased
### Added
- Improve the `PGRST106` error when the requested schema is invalid by @laurenceisla in #4089
+ It now shows the invalid schema in the `message` field.
+ The exposed schemas are now listed in the `hint` instead of the `message` field.
### Fixed
- Fix jwt error returning HTTP status `400` for invalid role by @taimoorzaeem in #3601