wide-butcher-30761
06/26/2023, 9:21 PMsteep-lamp-91158
wide-butcher-30761
06/27/2023, 4:09 PMwide-butcher-30761
06/27/2023, 6:33 PMwide-butcher-30761
06/27/2023, 6:45 PMnamespace.location
is a config option:
https://www.ory.sh/docs/keto/reference/configuration
I'm not sure where an issue would go for that. It looks like docs need to be regenerated as the source config.schema.json is up-to-date and includes namespace.location
.steep-lamp-91158
steep-lamp-91158
wide-butcher-30761
06/27/2023, 9:53 PMwide-butcher-30761
06/27/2023, 9:55 PMwide-machine-60917
09/22/2023, 12:34 PMketo:
...
config:
...
namespaces:
- id: 0
name: sample
steep-lamp-91158
wide-machine-60917
09/22/2023, 12:55 PMnamespaces.location
but then automigrate
service fails and here's an errors:steep-lamp-91158
keto.config.namespaces.location
without the array indexsteep-lamp-91158
wide-machine-60917
09/22/2023, 1:08 PMfailed parsing key "keto.config.namespaces.location" with value base64://.., unable to parse key: interface conversion: interface {} is []interface {}, not map[string]interface {}
steep-lamp-91158
wide-machine-60917
09/22/2023, 1:10 PMketo.config.namespaces.location
Do you want me to rise PR?wide-machine-60917
09/22/2023, 1:11 PMsteep-lamp-91158
wide-machine-60917
09/22/2023, 1:12 PMsteep-lamp-91158
keto.config.namespaces
with the value {location: base64://...}
wide-machine-60917
09/22/2023, 1:14 PMwide-machine-60917
09/22/2023, 1:31 PMwide-machine-60917
09/22/2023, 1:33 PM{
name = "keto.config.namespaces[0].location"
value = "base64://..."
}
This workswide-machine-60917
09/22/2023, 1:33 PMsteep-lamp-91158
wide-machine-60917
09/22/2023, 1:35 PMsteep-lamp-91158
wide-machine-60917
09/22/2023, 1:39 PMsteep-lamp-91158
steep-lamp-91158
steep-lamp-91158
steep-lamp-91158
wide-machine-60917
09/22/2023, 1:40 PMwide-machine-60917
09/22/2023, 1:40 PMI[#/namespaces/0] S[#/definitions/namespace/additionalProperties] additionalProperties "location" not allowed
what does it meanwide-machine-60917
09/22/2023, 1:41 PMI[#/namespaces] S[#/properties/namespaces/oneOf/2/type] expected object, but got array
steep-lamp-91158
config
in the valueswide-machine-60917
09/22/2023, 1:43 PMsteep-lamp-91158
wide-machine-60917
09/22/2023, 1:52 PMsteep-lamp-91158
steep-lamp-91158
wide-machine-60917
09/22/2023, 2:10 PM