Open srenatus opened 4 years ago
Guess my awk'ing was a bit flawed here. There's an object.union
in OPA but not in this list...
OPA has a capabilities JSON doc now that could be used instead. I believe it would also be nice if fregot exported one of those.
✔️ Updated the issue, using the capabilities doc.
The capabilities doc is really neat. I think we should be able to support that. One annoyance is that there's issues serializing the types of builtins in fregot
because they can be small programs -- see e.g. https://github.com/fugue/fregot/commit/eebc2dfd3691d9ef9ae5438e44cd1c44841e105b where I was experimenting with that.
Getting something out where we either drop the types or we just have any
there should not be very hard though.
@srenatus fregot now also exports a capabilities document: https://github.com/fugue/fregot/blob/master/extra/capabilities-v0.12.3.json.
My previous comment was wrong: due to the refactoring in #250 fregot can now also export the same type description format as OPA.
@jaspervdj-luminal that's cool, it made it so much easier to check supported builtins across the implementations. Updated the issue above. 🎉
Hey all! Are there any plans to include crypto.x509
in fregot?
Made using this command:
using the capabilities file of OPA v0.24.0.