Skip to content

Document OPA/Rego feature support #31

@anderseknert

Description

@anderseknert

It would be helpful if the docs (the README, or elsewhere) included a section documenting what features (built-ins and language constructs) this project currently supports.

I'm thinking something like a table for all built-in functions, with one column showing whether they're implemented, and perhaps another column for implementation details and gotchas (if there are any). For anyone finding this issue looking for this, the list of implemented builtins can be found here.

If there are language constructs not implemented, that'd be good to document too.

Finally, if we published a capabilities.json file for this project, users could leverage that to have opa build fail when trying to build swift-opa bundles using unsupported features and builtin functions. And we could use it for creating a swift-opa target in Regal, making the linter and language server aware of the limitations (for example, by not auto-completing names of unsupported built-in functions).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions