-
Quite a few API fields don't trim or validate against leading & trailing whitespace:
* `name` in all resources
* `url`, `clientID` and `clientSecret` in `/v1/providers`
This results in api obje…
-
When I tried to create an admin account with a correct mailbox, I received this error "must be a valid email address."
![image](https://user-images.githubusercontent.com/52564907/179383114-4366b446-d…
-
この辺が良さそう
- https://github.com/go-playground/validator
- https://github.com/go-ozzo/ozzo-validation
-
## Expected Behaviour
The api returns 400 for invalid requests
## Current Behaviour
Bad requests to `system/functions` return 500 instead of 400's
Issues we have seen return 500
* missing…
-
hi,
is there a way to raise an error if there was no corresponding value defined in the source map?
with `ErrorUnused` set in `DecoderConfig` the code below should raise an error:
```
# sour…
-
# tl;dr;
After following the setup instructions on the README, I'm not able to run pocketbase as a framework. It's the minimal amount of code to run the framework, but I keep getting an `address alr…
-
I am trying to update with:
// update
err = repo.Update(ctx, entity.Driver{
SessionID: 1241414,
CarIdx: 11,
CarNumber: "33",
CreatedAt: time.Now(),
UpdatedAt: time.Now(),
})
…
-
```
package model
import (
"github.com/go-ozzo/ozzo-validation"
"github.com/go-ozzo/ozzo-validation/is"
)
type UserConfirmation struct {
ID int64 `json:"id" meddler:"id,pk"`
User…
-
@qiangxue
The program that I wrote use **pgx** driver (https://github.com/jackc/pgx) for PostgreSQL. I found the **dbx** can use **pgx** driver from here.
https://github.com/go-ozzo/ozzo-dbx/blob/c0…
-