Hi, I was pleased to see that Kratos v0.11 adds su...
# talk-kratos
a
Hi, I was pleased to see that Kratos v0.11 adds support for PATCHing an identity, but I've noticed a something that doesn't match up with the docs. In there, it says that the "op" (operation) can be:
One of "add", "remove", "replace", "move", "copy", or "test".
but when I tried to do a "test", I got a Bad Request. Looking at the code (in ory/x/jsonx/patch.go), the only supported operations seem to be:
Copy code
var opAllowList = map[string]struct{}{
	"add":     {},
	"remove":  {},
	"replace": {},
}
should this be extended to match the docs, or should the docs only mention those 3 operations?
m
Hey Tom, thanks for letting us know! I will investigate a bit if there is something missing in ory/x or the docs are incorrect.