I have a question regarding the Authzed playground...
# spicedb
a
I have a question regarding the Authzed playground: When I download my project as .yaml file and afterwards try to load it again via "load from file" the UI gives me the error: The uploaded validation YAML is invalid. Is this error known? It seems that import is broken or during export there is an issue with generating the yaml?
v
@alex87 I cannot reproduce the problem. Would it be possible to share the schema with us?
a
@vroldanbet yes, here is the link for one example schema: https://file.io/ZDRL9CTCZXwS I create new schemas via the UI, export it and when I try to import it (without changes after some seconds) it does not accept the yaml.
v
I've identified playground has a regression when there are no assertions. could you add an assertion and try again?
cc @Joey
a
Exactly. I have added assertions to all of my examples to ensure that it is not empty. Now import works. Thanks a lot 🙂 Maybe consider adding it to your test cases 😉
v
thank you for reporting!
j
@alex87 PR issued and playground should be fixed in a day or two