This message was deleted.
# opal
s
This message was deleted.
👍 1
o
Hi Zach - the default is for all data files in git to be named
data.json
You can nest them under folders to “give them different names” - or more correctly assign them to different key paths in OPA
👍 1
z
Is it also normal that they all need to be at the same level within the file structure? I tried adding a
data.json
file to the
data_files
level here and it lost sight of the two others.
o
I don’t think there’s a limit on the nesting depth. I’d expect that to work - assuming all else is valid. BTW here’s the relevant part of the code: https://github.com/permitio/opal/blob/905c77a31c1d2c6ef8609f01762ed07dc7b68ae4/packages/opal-server/opal_server/scopes/service.py#L21 CC: @Asaf Cohen - maybe I’m missing something